|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4j.filter.PropertyFilter
org.fuin.utils4j.filter.TokenPropertyFilter
public class TokenPropertyFilter
Defines a filter on a String property.
| Constructor Summary | |
|---|---|
TokenPropertyFilter(String newPropertyName,
String constValue,
String newSeparators)
Constructor with a property, a constant value and separators. |
|
| Method Summary | |
|---|---|
boolean |
complies(Object obj)
Checks if the argument complies with the condition of the filter. |
protected String[] |
createGetterNames(String property)
Creates the appropriate getter names for the type. |
String |
getConstValue()
Returns the constant value any value is compared with. |
String |
getSeparators()
Returns a string with one or more separators. |
String |
toString()
|
| Methods inherited from class org.fuin.utils4j.filter.PropertyFilter |
|---|
getProperty, getPropertyName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TokenPropertyFilter(String newPropertyName,
String constValue,
String newSeparators)
newPropertyName - Name of the property.constValue - Value to compare with.newSeparators - Separators| Method Detail |
|---|
protected final String[] createGetterNames(String property)
createGetterNames in class PropertyFilterproperty - Name of the Property.
public final boolean complies(Object obj)
obj - Object to be tested for compliance
public final String toString()
toString in class Objectpublic final String getConstValue()
public final String getSeparators()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||