com.jidesoft.filter
Class FilterUtils
java.lang.Object
com.jidesoft.filter.FilterUtils
public class FilterUtils
- extends Object
The utility class dealing with filters.
- Since:
- 3.4.5
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterUtils
public FilterUtils()
setFilterPreference
public static Filter setFilterPreference(String preference,
Class<?> type,
ConverterContext converterContext)
- Creates a filter from the filter preference string.
- Parameters:
preference
- the preference stringtype
- the class type the filter will work onconverterContext
- the converter context to help converting the string back to the value
- Returns:
- the new Filter instance.
getFilterPreference
public static String getFilterPreference(Filter filter,
Class<?> type,
ConverterContext converterContext)
- Gets the filter preference string from the filter
- Parameters:
filter
- the filtertype
- the class type the filter works onconverterContext
- the converter context to help converting the string back to the value
- Returns:
- the preference string.