com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class DocumentInfo

    • Method Detail

      • getFileType

        public final FileTypePackage getFileType()

        Gets the file type of the loaded document.

        Specified by:
        getFileType in interface IDocumentInfo
        Returns:
        The file type of the loaded document.
      • getSize

        public final long getSize()

        Gets the size of the loaded document in bytes.

        Specified by:
        getSize in interface IDocumentInfo
        Returns:
        The size of the loaded document in bytes.
      • getPageCount

        public final int getPageCount()

        Gets the number of pages (slides, worksheets, etc) in the loaded document.

        Specified by:
        getPageCount in interface IDocumentInfo
        Returns:
        The number of pages (slides, worksheets, etc) in the loaded document.
      • getPages

        public final IReadOnlyList<PageInfo> getPages()

        Gets a collection of objects representing common information about the document pages (slides, worksheets, etc).

        Specified by:
        getPages in interface IDocumentInfo
        Returns:
        A collection of objects representing common information about the document pages (slides, worksheets, etc).
      • isEncrypted

        public final boolean isEncrypted()

        Gets a value indicating whether the document is encrypted and requires a password to open.

        Specified by:
        isEncrypted in interface IDocumentInfo
        Returns:
        A value indicating whether the document is encrypted and requires a password to open.