com.groupdocs.viewer.domain.containers

Class DocumentInfoContainer

    • Constructor Detail

      • DocumentInfoContainer

        public DocumentInfoContainer()

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt.

    • Method Detail

      • getAttachments

        public List<AttachmentBase> getAttachments()

        Gets the attachments.

        Returns:
        a java$util$List object.
      • getDateCreated

        public Date getDateCreated()

        The created time.

        Returns:
        the date created
      • getExtension

        public String getExtension()

        The file extension.

        Returns:
        the extension
      • getFileFormat

        public String getFileFormat()
      • getGuid

        public String getGuid()

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Returns:
        the guid
      • getLastModificationDate

        public Date getLastModificationDate()

        The last modification date.

        Returns:
        the last modification date
      • getName

        public String getName()

        The file name.

        Returns:
        the name
      • getPages

        public List<PageData> getPages()

        The pages data.

        Returns:
        a java$util$List object.
      • getSize

        public long getSize()

        The file size in bytes.

        Returns:
        the size
      • setAttachments

        public void setAttachments(List<AttachmentBase> value)

        Gets the attachments.

        Parameters:
        value - a java$util$List object.
      • setDateCreated

        public void setDateCreated(Date value)

        The created time.

        Parameters:
        value - the value
      • setExtension

        public void setExtension(String value)

        Gets the file extension.

        Parameters:
        value - the value
      • setFileFormat

        public void setFileFormat(String value)
      • setGuid

        public void setGuid(String value)

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Parameters:
        value - the value
      • setLastModificationDate

        public void setLastModificationDate(Date value)

        The last modification date.

        Parameters:
        value - the value
      • setName

        public void setName(String value)

        The file name.

        Parameters:
        value - the value
      • setPages

        public void setPages(List<PageData> value)

        Gets the pages data.

        Parameters:
        value - a java$util$List object.
      • setSize

        public void setSize(long value)

        The size.

        Parameters:
        value - the value