com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class DocumentInfo



  • public final class DocumentInfo
    extends Object

    Provides the information of supported extractors for a document.

    • Constructor Detail

      • DocumentInfo

        public DocumentInfo(boolean hasText,
                    boolean hasFormattedText,
                    boolean hasMetadata,
                    boolean isContainer)

        Initializes a new instance of the DocumentInfo class.

        Parameters:
        hasText - Value indicating whether a user can extract a plain text from a document.
        hasFormattedText - A value indicating whether a user can extract a formatted text from a document.
        hasMetadata - A value indicating whether a user can extract metadata from a document.
        isContainer - A value indicating whether a document contains other documents.
    • Method Detail

      • hasText

        public boolean hasText()
      • hasFormattedText

        public boolean hasFormattedText()
      • hasMetadata

        public boolean hasMetadata()
      • isContainer

        public boolean isContainer()

        Gets a value indicating whether a document contains other documents.

        Returns:
        A boolean true if a document contains other documents; otherwise, false.