com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class ComplexMetadataExtractor

    • Constructor Detail

      • ComplexMetadataExtractor

        public ComplexMetadataExtractor()
    • Method Detail

      • extractComplexMetadata

        public Enumeration<MetadataCollection> extractComplexMetadata(InputStream stream,
                                                             LoadOptions loadOptions)

        Extracts the complex metadata from the stream.

        Parameters:
        stream - The stream of the document.
        loadOptions - The options of loading the file.
        Returns:
        An enumerator that iterates metadata collections.
        Throws:
        ArgumentNullException - stream is null.
      • extractComplexMetadata

        public Enumeration<MetadataCollection> extractComplexMetadata(String fileName)

        Extracts the complex metadata from the fileName.

        Parameters:
        fileName - The path to the file.
        Returns:
        An enumerator that iterates metadata collections.
        Throws:
        ArgumentNullException - fileName is null.
      • extractComplexMetadata

        public Enumeration<MetadataCollection> extractComplexMetadata(String fileName,
                                                             LoadOptions loadOptions)

        Extracts the complex metadata from the fileName.

        Parameters:
        fileName - The path to the file.
        loadOptions - The options of loading the file.
        Returns:
        An enumerator that iterates metadata collections.
        Throws:
        ArgumentNullException - fileName is null.
      • extractComplexMetadataFromStream

        protected abstract Enumeration<MetadataCollection> extractComplexMetadataFromStream(InputStream stream,
                                                                       LoadOptions loadOptions)

        Extracts the complex metadata from the stream.

        Parameters:
        stream - The stream of the document.
        loadOptions - The options of loading the file.
        Returns:
        An enumerator that iterates metadata collections.