org.apache.oodt.cas.metadata.preconditions
Class EndsWithComparator
java.lang.Object
org.apache.oodt.cas.metadata.preconditions.PreConditionComparator<String>
org.apache.oodt.cas.metadata.preconditions.EndsWithComparator
- All Implemented Interfaces:
- SpringSetIdInjectionType
public class EndsWithComparator
- extends PreConditionComparator<String>
A PreConditionComparator that checks a file's extension and then
skips extracting metadata from files that don't match this extension.
- Version:
- $Revision$
- Author:
- mattmann
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndsWithComparator
public EndsWithComparator()
performCheck
protected int performCheck(File file,
String ext)
throws PreconditionComparatorException
- Specified by:
performCheck in class PreConditionComparator<String>
- Throws:
PreconditionComparatorException
Copyright © 1999-2014 Apache OODT. All Rights Reserved.