com.groupdocs.conversion.contracts.documentinfo

Class DocumentInfo

    • Field Detail

      • pagesCount

        protected int pagesCount
      • creationDate

        protected Date creationDate
    • Constructor Detail

      • DocumentInfo

        protected DocumentInfo(FileType format,
                    long size)
        Constructor
        Parameters:
        format - format
        size - size
    • Method Detail

      • getPropertyNames

        public List<String> getPropertyNames()
        List of all properties which could be get for the current document info
        Specified by:
        getPropertyNames in interface IDocumentInfo
        Returns:
        List of all properties which could be get for the current document info
      • getProperty

        public String getProperty(String propertyName)
        Get value for a property provided as a key
        Specified by:
        getProperty in interface IDocumentInfo
        Parameters:
        propertyName - property name
        Returns:
        value for a property provided as a key
      • getSize

        public long getSize()
        Document size in bytes
        Specified by:
        getSize in interface IDocumentInfo
        Returns:
        Document size in bytes
      • getCreationDate

        public Date getCreationDate()
        Document creation date
        Specified by:
        getCreationDate in interface IDocumentInfo
        Returns:
        Document creation date