public class DataEntryNameFilter extends java.lang.Object implements DataEntryFilter
DataEntryFilter filters data entries based on whether their names match
a given StringMatcher.| Constructor and Description |
|---|
DataEntryNameFilter(StringMatcher stringMatcher)
Creates a new DataEntryNameFilter.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(DataEntry dataEntry)
Checks whether the filter accepts the given data entry.
|
public DataEntryNameFilter(StringMatcher stringMatcher)
stringMatcher - the string matcher that will be applied to the names
of the filtered data entries.public boolean accepts(DataEntry dataEntry)
DataEntryFilteraccepts in interface DataEntryFilterdataEntry - the data entry to filter.