Package com.github.euler.tika.metadata
Class AbstractValueConverterMetadataOperation<T>
- java.lang.Object
-
- com.github.euler.tika.metadata.AbstractValueConverterMetadataOperation<T>
-
- All Implemented Interfaces:
MetadataOperation
- Direct Known Subclasses:
ValueIntConverterMetadataOperation
public abstract class AbstractValueConverterMetadataOperation<T> extends Object implements MetadataOperation
-
-
Constructor Summary
Constructors Constructor Description AbstractValueConverterMetadataOperation(String nameRegex, boolean failSafe)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Tconvert(String value)protected abstract TgetDefaultValueOnError()ObjectrunOnValue(String name, Object value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.euler.tika.metadata.MetadataOperation
runOnName
-
-
-
-
Constructor Detail
-
AbstractValueConverterMetadataOperation
public AbstractValueConverterMetadataOperation(String nameRegex, boolean failSafe)
-
-
Method Detail
-
runOnValue
public Object runOnValue(String name, Object value)
- Specified by:
runOnValuein interfaceMetadataOperation
-
getDefaultValueOnError
protected abstract T getDefaultValueOnError()
-
-