public class NegativeStringFilter extends AStringFilter
ALL, NONE
Constructor and Description |
---|
NegativeStringFilter(IStringFilter filter)
Initialize the new instance with another filter which it negates.
|
Modifier and Type | Method and Description |
---|---|
protected IStringFilter |
getInnerFilter() |
boolean |
matches(java.lang.String string)
Returns true if the given string matches the filter otherwise false.
|
protected void |
setInnerFilter(IStringFilter newValue) |
public NegativeStringFilter(IStringFilter filter)
filter
- The filter to negate (must not be null).java.lang.IllegalArgumentException
- if the given filter is null.public boolean matches(java.lang.String string)
IStringFilter
string
- Any string or even nullprotected IStringFilter getInnerFilter()
protected void setInnerFilter(IStringFilter newValue)