Packages

 

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

      • getBaseName

        public String getBaseName()

        Gets the file name without extension.

      • getCreated

        public Date getCreated()

        Date of created.

      • getExists

        public boolean getExists()

        Returns if specified Guid file exists.

      • getExtension

        public String getExtension()

        Gets the file extension.

      • getFileType

        public int getFileType()

        File Location Type - Undefined, Local, Network.

      • getGUID

        public String getGUID()

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

      • getLastModified

        public Date getLastModified()

        Date of last modified.

      • getName

        public String getName()

        Name of file.

      • getSize

        public long getSize()

        Size of file.

      • setCreated

        public void setCreated(Date value)

        Date of created.

      • setFileType

        public void setFileType(int value)

        File Location Type - Undefined, Local, Network.

      • setGUID

        public void setGUID(String value)

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

      • setLastModified

        public void setLastModified(Date value)

        Date of last modified.

      • setName

        public void setName(String value)

        Name of file.

      • setSize

        public void setSize(long value)

        Size of file.

      • to_FileDescription

        public static FileDescription to_FileDescription(String guid)

        Implicit conversion from string to FileDescription.

        Parameters:
        guid - File guid.
        Returns:
        new FileDescription.
      • toString

        public String toString()

        Overrides ToString method

        Overrides:
        toString in class Object
        Returns: