public class FileRegexFilter extends Object implements ObjectFilter<CaptureSearchResult>
Modifier and Type | Field and Description |
---|---|
protected Pattern[] |
patterns |
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
FileRegexFilter() |
Modifier and Type | Method and Description |
---|---|
int |
filterObject(CaptureSearchResult o)
inpect record and determine if it should be included in the
results or not, or if processing of new records should stop.
|
List<String> |
getPatterns() |
void |
setPatterns(List<String> patternStrings) |
protected Pattern[] patterns
public int filterObject(CaptureSearchResult o)
ObjectFilter
filterObject
in interface ObjectFilter<CaptureSearchResult>
o
- Object which should be checked for inclusion/exclusion or abortCopyright © 2005–2017 IIPC. All rights reserved.