Package org.apache.tika.eval.app.io
Class ExtractReader
- java.lang.Object
-
- org.apache.tika.eval.app.io.ExtractReader
-
public class ExtractReader extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExtractReader.ALTER_METADATA_LIST
-
Field Summary
Fields Modifier and Type Field Description static long
IGNORE_LENGTH
-
Constructor Summary
Constructors Constructor Description ExtractReader()
Reads full extract, no modification of metadata list, no min or max extract length checkingExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList)
ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList, long minExtractLength, long maxExtractLength)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Metadata>
loadExtract(Path extractFile)
protected static org.apache.tika.eval.app.io.ExtractReader.FileSuffixes
parseSuffixes(String fName)
-
-
-
Field Detail
-
IGNORE_LENGTH
public static final long IGNORE_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ExtractReader
public ExtractReader()
Reads full extract, no modification of metadata list, no min or max extract length checking
-
ExtractReader
public ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList)
-
ExtractReader
public ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList, long minExtractLength, long maxExtractLength)
-
-
Method Detail
-
parseSuffixes
protected static org.apache.tika.eval.app.io.ExtractReader.FileSuffixes parseSuffixes(String fName)
-
loadExtract
public List<Metadata> loadExtract(Path extractFile) throws ExtractReaderException
- Throws:
ExtractReaderException
-
-