IDocumentInfo
Leave feedback
On this page
public interface IDocumentInfo
Contains metadata for a document.
| Method | Description |
|---|---|
| getPagesCount() | Document pages count. |
| getFormat() | Document format |
| getSize() | Document size in bytes |
| getCreationDate() | Document creation date |
| getPropertyNames() | List of all properties which could be get for the current document info |
| getProperty(String propertyName) | Get value for a property provided as a key |
public abstract int getPagesCount()
Document pages count.
Returns: int
public abstract String getFormat()
Document format
Returns: java.lang.String - Document format
public abstract long getSize()
Document size in bytes
Returns: long - Document size in bytes
public abstract Date getCreationDate()
Document creation date
Returns: java.util.Date - Document creation date
public abstract List<String> getPropertyNames()
List of all properties which could be get for the current document info
Returns: java.util.List<java.lang.String> - List of all properties which could be get for the current document info
public abstract String getProperty(String propertyName)
Get value for a property provided as a key
Parameters:
| Parameter | Type | Description |
|---|---|---|
| propertyName | java.lang.String | property name |
Returns: java.lang.String - value for a property provided as a key
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.