public class FilePrefixFilter extends Object implements ObjectFilter<CaptureSearchResult>
FILTER_ABORT, FILTER_EXCLUDE, FILTER_INCLUDE
Constructor and Description |
---|
FilePrefixFilter() |
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.
|
String[] |
getPrefixes() |
boolean |
isIncludeMatches() |
void |
setIncludeMatches(boolean includeMatches) |
void |
setPrefixes(String[] prefixes) |
public String[] getPrefixes()
public void setPrefixes(String[] prefixes)
public int filterObject(CaptureSearchResult o)
ObjectFilter
filterObject
in interface ObjectFilter<CaptureSearchResult>
o
- Object which should be checked for inclusion/exclusion or abortpublic boolean isIncludeMatches()
public void setIncludeMatches(boolean includeMatches)
Copyright © 2005–2017 IIPC. All rights reserved.