com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class FileParams



  • public final class FileParams
    extends Object

    Defines an embedded file parameter dictionary that shall contain additional file-specific information.

    • Constructor Detail

      • FileParams

        public FileParams(FileSpecification spec)

        Constructor for FileParams class.

        Parameters:
        spec - File specification.
    • Method Detail

      • getSize

        public int getSize()

        The size of the uncompressed embedded file, in bytes.

        Returns:
        int value
      • getCreationDate

        public Date getCreationDate()

        Get the date and time when the embedded file was created.

        Returns:
        Date object
      • setCreationDate

        public void setCreationDate(Date value)

        Set the date and time when the embedded file was created.

        Parameters:
        value - Date object
      • getModDate

        public Date getModDate()

        Get the date and time when the embedded file was last modified.

        Returns:
        Date object
      • setModDate

        public void setModDate(Date value)

        Set the date and time when the embedded file was last modified.

        Parameters:
        value - Date object
      • getCheckSum

        public String getCheckSum()

        A 16-byte string that is the checksum of the bytes of the uncompressed embedded file. The checksum is calculated by applying the standard MD5 message-digest algorithm to the bytes of the embedded file stream.

        Returns:
        String value