public abstract class DocumentInfo extends Object implements IDocumentInfo
Learn more:
Constructor and Description |
---|
DocumentInfo() |
Modifier and Type | Method and Description |
---|---|
abstract FileType |
getFileType()
Gets the document type.
|
abstract int |
getPageCount()
Gets the total number of document pages.
|
abstract List<PageInfo> |
getPages()
Gets the information about pages such as the index and page size.
|
abstract int |
getRawPageCount()
Gets the total number of document raw pages.
|
abstract long |
getSize()
Gets the size of the document in bytes.
|
public abstract FileType getFileType()
getFileType
in interface IDocumentInfo
FileType
class that represents the type of the document.public abstract int getPageCount()
getPageCount
in interface IDocumentInfo
public abstract int getRawPageCount()
Use getRawPageCount()
property instead of getPageCount()
property for raw text extraction.
Some documents have different page numbers in accurate and raw text extraction modes.
getPageCount()
property may perform extra calculations which impacts on text extraction speed in raw mode.
getRawPageCount
in interface IDocumentInfo
public abstract long getSize()
getSize
in interface IDocumentInfo
public abstract List<PageInfo> getPages()
getPages
in interface IDocumentInfo
PageInfo
classes.