|
||||||||||
| 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(java.lang.String newPropertyName,
java.lang.String constValue,
java.lang.String newSeparators)
Constructor with a property, a constant value and separators. |
|
| Method Summary | |
|---|---|
boolean |
complies(java.lang.Object obj)
Checks if the argument complies with the condition of the filter. |
java.lang.String |
getConstValue()
Returns the constant value any value is compared with. |
java.lang.String |
getSeparators()
Returns a string with one or more separators. |
java.lang.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(java.lang.String newPropertyName,
java.lang.String constValue,
java.lang.String newSeparators)
newPropertyName - Name of the property.constValue - Value to compare with.newSeparators - Separators| Method Detail |
|---|
public final boolean complies(java.lang.Object obj)
obj - Object to be tested for compliance
public final java.lang.String toString()
toString in class java.lang.Objectpublic final java.lang.String getConstValue()
public final java.lang.String getSeparators()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||