Example usage for com.liferay.portal.kernel.configuration Filter getSelectors

List of usage examples for com.liferay.portal.kernel.configuration Filter getSelectors

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.configuration Filter getSelectors.

Prototype

public String[] getSelectors() 

Source Link

Usage

From source file:org.kmworks.liferay.portal.configuration.RemoteClientConfiguration.java

License:Open Source License

private String filterKey(String key, Filter filter) {
    String[] selectors = filter.getSelectors();
    StringBuilder sb = new StringBuilder();
    sb.append(key).append('[').append(selectors[0]);
    for (int i = 1; i < selectors.length; i++) {
        sb.append(',').append(selectors[i]);
    }//from w w w .ja  va  2s .co m
    return sb.append(']').toString();
}