public class EndsWithComparator extends PreConditionComparator<String>
PreConditionComparator
that checks a file's extension and then
skips extracting metadata from files that don't match this extension.Constructor and Description |
---|
EndsWithComparator() |
Modifier and Type | Method and Description |
---|---|
protected int |
performCheck(File file,
String ext) |
getDescription, getId, passes, setCompareItem, setDescription, setFileExtension, setId, setType
protected int performCheck(File file, String ext) throws PreconditionComparatorException
performCheck
in class PreConditionComparator<String>
PreconditionComparatorException
Copyright © 1999–2017 Apache OODT. All rights reserved.