|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.utils4j.filter.TokenFilter
public class TokenFilter
Defines a filter on a token.
| Constructor Summary | |
|---|---|
TokenFilter(java.lang.String constValue,
java.lang.String newSeparators)
Constructor with a constant value and separators. |
|
| Method Summary | |
|---|---|
boolean |
complies(java.lang.Object value)
Checks if the argument complies with the condition of the filter. |
protected boolean |
complies(java.lang.String value,
java.lang.String constValue,
java.lang.String separators)
Helper method for subclasses to do the comparation. |
java.lang.String |
getConstValue()
Returns the constant value any string is compared with. |
java.lang.String |
getSeparators()
Returns a string with one or more separators. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TokenFilter(java.lang.String constValue,
java.lang.String newSeparators)
constValue - Value to compare with.newSeparators - Separators| Method Detail |
|---|
public final java.lang.String getSeparators()
public final java.lang.String getConstValue()
public final boolean complies(java.lang.Object value)
complies in interface Filtervalue - Object to be tested for compliance
protected final boolean complies(java.lang.String value,
java.lang.String constValue,
java.lang.String separators)
value - Object that contains the property.constValue - Value to compare with.separators - Separators
public final java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||