Class FileInfo

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

      • FileInfo

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

      • getFileType

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

        public long getSize()
        Gets the size of the document in bytes.
        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.
        A boolean true if a file is password-protected; otherwise false.