com.groupdocs.signature.domain

Class FileDescription



  • public class FileDescription
    extends Object

    Properties of file to be signed

    • Constructor Detail

      • FileDescription

        public FileDescription(String guid)

        Create File Description object with specified file id - file name or remote resource name

        Parameters:
        guid - Unique file or resource identifier. Short file name for Local Path
    • Method Detail

      • getGUID

        public String getGUID()

        Unique identifier for file - absolute or relative path, resource or URL

      • setGUID

        public void setGUID(String value)

        Unique identifier for file - absolute or relative path, resource or URL

      • getName

        public String getName()

        Name of file

      • setName

        public void setName(String value)

        Name of file

      • getSize

        public long getSize()

        Size of file

      • setSize

        public void setSize(long value)

        Size of file

      • getLastModified

        public Date getLastModified()

        Date of last modified

      • getLastModifiedInternal

        public com.aspose.ms.System.DateTime getLastModifiedInternal()
      • setLastModified

        public void setLastModified(Date value)

        Date of last modified

      • getCreated

        public Date getCreated()

        Date of created

      • getCreatedInternal

        public com.aspose.ms.System.DateTime getCreatedInternal()
      • setCreated

        public void setCreated(Date value)

        Date of created

      • getFileType

        public int getFileType()

        File Location Type - Undefined, Local, Network

      • setFileType

        public void setFileType(int value)

        File Location Type - Undefined, Local, Network

      • getExists

        public boolean getExists()

        Returns if specified Guid file exists.

      • getBaseName

        public String getBaseName()

        File name without extension

      • getExtension

        public String getExtension()

        File extension

      • to_FileDescription

        public static FileDescription to_FileDescription(String guid)

        Implicit conversion from string to FileDescription

        Parameters:
        guid -
        Returns:
      • toString

        public String toString()

        Overrides ToString method

        Overrides:
        toString in class Object
        Returns: