DocumentInfo
Leave feedback
On this page
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
| Method | Description |
|---|---|
| getPropertyNames() | {@inheritDoc} |
| getProperty(String propertyName) | {@inheritDoc} |
| getPagesCount() | {@inheritDoc} |
| getFormat() | {@inheritDoc} |
| getSize() | {@inheritDoc} |
| getCreationDate() | {@inheritDoc} |
public List<String> getPropertyNames()
List of all properties which could be get for the current document info
Returns: java.util.List<java.lang.String>
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
public int getPagesCount()
Document pages count.
Returns: int
public String getFormat()
Document format
Returns: java.lang.String
public long getSize()
Document size in bytes
Returns: long
public Date getCreationDate()
Document creation date
Returns: java.util.Date
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.