public class ExtractReader extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ExtractReader.ALTER_METADATA_LIST |
Modifier and Type | Field and Description |
---|---|
static long |
IGNORE_LENGTH |
Constructor and Description |
---|
ExtractReader()
Reads full extract, no modification of metadata list, no min or max extract length checking
|
ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList) |
ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList,
long minExtractLength,
long maxExtractLength) |
Modifier and Type | Method and Description |
---|---|
List<Metadata> |
loadExtract(Path extractFile) |
protected static org.apache.tika.eval.io.ExtractReader.FileSuffixes |
parseSuffixes(String fName) |
public static final long IGNORE_LENGTH
public ExtractReader()
public ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList)
public ExtractReader(ExtractReader.ALTER_METADATA_LIST alterMetadataList, long minExtractLength, long maxExtractLength)
public List<Metadata> loadExtract(Path extractFile) throws ExtractReaderException
ExtractReaderException
protected static org.apache.tika.eval.io.ExtractReader.FileSuffixes parseSuffixes(String fName)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.