Constructor and Description |
---|
RegexFilter(java.lang.String regex)
Creates a new filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
includes(java.lang.String item)
Tells whether the item
item should be included or not. |
public RegexFilter(java.lang.String regex)
regex
- the regular expression which filters the String
spublic boolean includes(java.lang.String item)
Filter
item
should be included or not.