public abstract class DocumentInfo extends Object implements IDocumentInfo
Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate()
Document creation date
|
String |
getFormat()
Document format
|
int |
getPagesCount()
Document pages count.
|
String |
getProperty(String propertyName)
Get value for a property provided as a key
|
List<String> |
getPropertyNames()
List of all properties which could be get for the current document info
|
long |
getSize()
Document size in bytes
|
public List<String> getPropertyNames()
getPropertyNames
in interface IDocumentInfo
public String getProperty(String propertyName)
getProperty
in interface IDocumentInfo
propertyName
- property namepublic int getPagesCount()
getPagesCount
in interface IDocumentInfo
public String getFormat()
getFormat
in interface IDocumentInfo
public long getSize()
getSize
in interface IDocumentInfo
public Date getCreationDate()
getCreationDate
in interface IDocumentInfo