Package org.apache.tika.eval.app.io
Class ExtractReader
java.lang.Object
org.apache.tika.eval.app.io.ExtractReader
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReads 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
Modifier and TypeMethodDescriptionstatic longextractLength(Path extractFile) Uncompressed length for gzip (from the ISIZE trailer), so plain and gzipped extract sets agree on lengths and min/max filtering; on-disk length for everything else.loadExtract(Path extractFile) protected static org.apache.tika.eval.app.io.ExtractReader.FileSuffixesparseSuffixes(String fName)
-
Field Details
-
IGNORE_LENGTH
public static final long IGNORE_LENGTH- See Also:
-
-
Constructor Details
-
ExtractReader
public ExtractReader()Reads full extract, no modification of metadata list, no min or max extract length checking -
ExtractReader
-
ExtractReader
public ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList, long minExtractLength, long maxExtractLength)
-
-
Method Details
-
parseSuffixes
-
extractLength
Uncompressed length for gzip (from the ISIZE trailer), so plain and gzipped extract sets agree on lengths and min/max filtering; on-disk length for everything else.- Throws:
IOException
-
loadExtract
- Throws:
ExtractReaderException
-