com.groupdocs.parser.options

Class FileInfo



  • public class FileInfo
    extends Object
    Represents the file information.
    • Constructor Detail

      • FileInfo

        protected FileInfo(FileType fileType,
                long size,
                boolean encrypted)
    • Method Detail

      • getFileType

        public FileType getFileType()
        Gets the document type.
        Returns:
        An instance of FileType class that represents the type of the document.
      • getSize

        public long getSize()
        Gets the size of the document in bytes.
        Returns:
        An integer value that represents the size of the document in bytes.
      • isEncrypted

        public boolean isEncrypted()
        Gets a value that represents whether a file is password-protected.
        Returns:
        A boolean true if a file is password-protected; otherwise false.