DocumentInfo
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.conversion.contracts.documentinfo.IDocumentInfo
public abstract class DocumentInfo implements IDocumentInfo
Provides base implementation for retrieving polymorphic document information
Methods
| Method | Description | 
|---|---|
| getPropertyNames() | {@inheritDoc} | 
| getProperty(String propertyName) | {@inheritDoc} | 
| getPagesCount() | {@inheritDoc} | 
| getFormat() | {@inheritDoc} | 
| getSize() | {@inheritDoc} | 
| getCreationDate() | {@inheritDoc} | 
getPropertyNames()
public List<String> getPropertyNames()
List of all properties which could be get for the current document info
Returns: java.util.List<java.lang.String>
getProperty(String propertyName)
public String getProperty(String propertyName)
Get value for a property provided as a key
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| propertyName | java.lang.String | 
Returns: java.lang.String
getPagesCount()
public int getPagesCount()
Document pages count.
Returns: int
getFormat()
public String getFormat()
Document format
Returns: java.lang.String
getSize()
public long getSize()
Document size in bytes
Returns: long
getCreationDate()
public Date getCreationDate()
Document creation date
Returns: java.util.Date