Constructor and Description |
---|
DefaultFilter() |
Modifier and Type | Method and Description |
---|---|
void |
addExclude(String pattern)
Add an exclude Pattern (Which pattern-Syntax is determinate by the implementation).
|
void |
addInclude(String pattern)
Add an include Pattern (Which pattern-Syntax is determinate by the implementation).
|
boolean |
isValid(String key)
Return true if the key is not filtered out.
|
public void addExclude(String pattern)
addExclude
in interface Filter
pattern
- the pattern.public void addInclude(String pattern)
addInclude
in interface Filter
pattern
- the pattern.Copyright © 2008–2014. All rights reserved.