Package com.github.euler.tika.metadata
Class ValueIntConverterMetadataOperation
- java.lang.Object
-
- com.github.euler.tika.metadata.AbstractValueConverterMetadataOperation<Integer>
-
- com.github.euler.tika.metadata.ValueIntConverterMetadataOperation
-
- All Implemented Interfaces:
MetadataOperation
public class ValueIntConverterMetadataOperation extends AbstractValueConverterMetadataOperation<Integer>
-
-
Constructor Summary
Constructors Constructor Description ValueIntConverterMetadataOperation(String nameRegex, boolean failSafe, int defaultValueOnError)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Integerconvert(String value)protected IntegergetDefaultValueOnError()-
Methods inherited from class com.github.euler.tika.metadata.AbstractValueConverterMetadataOperation
runOnValue
-
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
-
ValueIntConverterMetadataOperation
public ValueIntConverterMetadataOperation(String nameRegex, boolean failSafe, int defaultValueOnError)
-
-
Method Detail
-
getDefaultValueOnError
protected Integer getDefaultValueOnError()
- Specified by:
getDefaultValueOnErrorin classAbstractValueConverterMetadataOperation<Integer>
-
convert
protected Integer convert(String value)
- Specified by:
convertin classAbstractValueConverterMetadataOperation<Integer>
-
-