public abstract class ComplexMetadataExtractor extends MetadataExtractor
Provides the functionality to extract the complex metadata.
Constructor and Description |
---|
ComplexMetadataExtractor() |
Modifier and Type | Method and Description |
---|---|
Enumeration<MetadataCollection> |
extractComplexMetadata(InputStream stream)
Extracts the complex metadata from the
stream . |
Enumeration<MetadataCollection> |
extractComplexMetadata(InputStream stream,
LoadOptions loadOptions)
Extracts the complex metadata from the
stream . |
Enumeration<MetadataCollection> |
extractComplexMetadata(String fileName)
Extracts the complex metadata from the
fileName . |
Enumeration<MetadataCollection> |
extractComplexMetadata(String fileName,
LoadOptions loadOptions)
Extracts the complex metadata from the
fileName . |
protected abstract Enumeration<MetadataCollection> |
extractComplexMetadataFromStream(InputStream stream,
LoadOptions loadOptions)
Extracts the complex metadata from the
stream . |
extractMetadata, extractMetadata, extractMetadata, extractMetadata, extractMetadataFromStream
public Enumeration<MetadataCollection> extractComplexMetadata(InputStream stream)
Extracts the complex metadata from the stream
.
stream
- The stream of the document.ArgumentNullException
- stream
is null.public Enumeration<MetadataCollection> extractComplexMetadata(InputStream stream, LoadOptions loadOptions)
Extracts the complex metadata from the stream
.
stream
- The stream of the document.loadOptions
- The options of loading the file.ArgumentNullException
- stream
is null.public Enumeration<MetadataCollection> extractComplexMetadata(String fileName)
Extracts the complex metadata from the fileName
.
fileName
- The path to the file.ArgumentNullException
- fileName
is null.public Enumeration<MetadataCollection> extractComplexMetadata(String fileName, LoadOptions loadOptions)
Extracts the complex metadata from the fileName
.
fileName
- The path to the file.loadOptions
- The options of loading the file.ArgumentNullException
- fileName
is null.protected abstract Enumeration<MetadataCollection> extractComplexMetadataFromStream(InputStream stream, LoadOptions loadOptions)
Extracts the complex metadata from the stream
.
stream
- The stream of the document.loadOptions
- The options of loading the file.Copyright © 2018. All rights reserved.