public class NameFilter extends Object
| Constructor and Description |
|---|
NameFilter(List<String> pIncludes,
List<String> pExcludes)
Initialize object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFilteredOut(String pName)
Method checks if the passed name is filtered out by the filter.
|
public NameFilter(List<String> pIncludes, List<String> pExcludes)
pIncludes or pExcludes must be set or none but not both.pIncludes - List with include expressions. The parameter may be null.pExcludes - List with exclude expressions. The parameter may be null.public boolean isFilteredOut(String pName)
pName - Name that should be checked.Copyright © 2021. All rights reserved.