com.groupdocs.redaction

Class DocumentInfo

  • All Implemented Interfaces:
    IDocumentInfo


    public class DocumentInfo
    extends Object
    implements IDocumentInfo

    Represents an information about document. Implements IDocumentInfo interface. See IDocumentInfo for examples.

    • Method Detail

      • getFileType

        public final FileType getFileType()

        Gets the file format description.

        Specified by:
        getFileType in interface IDocumentInfo
        Returns:
        The file format description.
      • getPageCount

        public final int getPageCount()

        Gets the total page count.

        Specified by:
        getPageCount in interface IDocumentInfo
        Returns:
        The total page count.
      • getSize

        public final long getSize()

        Gets the document size in bytes.

        Specified by:
        getSize in interface IDocumentInfo
        Returns:
        The document size in bytes.
      • getPages

        public final List<PageInfo> getPages()

        Gets the list of page information.

        Specified by:
        getPages in interface IDocumentInfo
        Returns:
        The list of page information.