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
      • getDocumentType

        @Deprecated
        public String getDocumentType()
        Deprecated. 

        The type of the document.

        Returns:
        the document type
      • getDocumentTypeFormat

        @Deprecated
        public String getDocumentTypeFormat()
        Deprecated. 

        The document type format.

        Returns:
        Domain.FileFormat.PORTABLE_DOCUMENT_FORMAT, Domain.FileFormat.MICROSOFT_WORD, Domain.FileFormat.MICROSOFT_EXCEL, Domain.FileFormat.MICROSOFT_POWERPOINT, Domain.FileFormat.MICROSOFT_VISIO, Domain.FileFormat.MICROSOFT_PROJECT, Domain.FileFormat.MICROSOFT_OUTLOOK, Domain.FileFormat.OPENDOCUMENT_FORMATS, Domain.FileFormat.RICH_TEXT_FORMAT, Domain.FileFormat.PLAIN_TEXT_FILE, Domain.FileFormat.COMMA_SEPARATED_VALUES, Domain.FileFormat.HYPERTEXT_MARKUP_LANGUAGE, Domain.FileFormat.EXTENSIBLE_MARKUP_LANGUAGE, Domain.FileFormat.XML_PAPER_SPECIFICATION, Domain.FileFormat.IMAGE_FILES, Domain.FileFormat.ELECTRONIC_PUBLICATION, Domain.FileFormat.WINDOWS_ICON, Domain.FileFormat.WINDOWS_METAFILE, Domain.FileFormat.LATEX, Domain.FileFormat.UNKNOWN Domain.FileFormat.POSTSCRIPT, Domain.FileFormat.PHOTOSHOP or Domain.FileFormat.UNKNOWN
      • getExtension

        public String getExtension()

        The file extension.

        Returns:
        the extension
      • getFileFormat

        public String getFileFormat()
      • getFileType

        @Deprecated
        public String getFileType()
        Deprecated. 

        The type of the file.

        Returns:
        the file type
      • 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
      • setDocumentType

        public void setDocumentType(String value)

        The type of the document.

        Parameters:
        value - the value
      • setDocumentTypeFormat

        public void setDocumentTypeFormat(String value)

        Return document type format.

        Domain.FileFormat.PORTABLE_DOCUMENT_FORMAT, Domain.FileFormat.MICROSOFT_WORD, Domain.FileFormat.MICROSOFT_EXCEL, Domain.FileFormat.MICROSOFT_POWERPOINT, Domain.FileFormat.MICROSOFT_VISIO, Domain.FileFormat.MICROSOFT_PROJECT, Domain.FileFormat.MICROSOFT_OUTLOOK, Domain.FileFormat.OPENDOCUMENT_FORMATS, Domain.FileFormat.RICH_TEXT_FORMAT, Domain.FileFormat.PLAIN_TEXT_FILE, Domain.FileFormat.COMMA_SEPARATED_VALUES, Domain.FileFormat.HYPERTEXT_MARKUP_LANGUAGE, Domain.FileFormat.EXTENSIBLE_MARKUP_LANGUAGE, Domain.FileFormat.XML_PAPER_SPECIFICATION, Domain.FileFormat.IMAGE_FILES, Domain.FileFormat.ELECTRONIC_PUBLICATION, Domain.FileFormat.WINDOWS_ICON, Domain.FileFormat.WINDOWS_METAFILE, Domain.FileFormat.LATEX, Domain.FileFormat.UNKNOWN Domain.FileFormat.POSTSCRIPT, Domain.FileFormat.PHOTOSHOP
        Parameters:
        value - a String object.
      • setExtension

        public void setExtension(String value)

        Gets the file extension.

        Parameters:
        value - the value
      • setFileFormat

        public void setFileFormat(String value)
      • setFileType

        public void setFileType(String value)

        The type of the file.

        Parameters:
        value - the 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