public class TextualDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one textual document like XML, HTML or plain text (TXT)
| Modifier and Type | Method and Description |
|---|---|
Charset |
getEncoding()
Returns detected presumable encoding of the text document
|
TextualFormats |
getFormat()
Returns a format of this textual document.
|
int |
getPageCount()
Always returns 1
|
long |
getSize()
Returns size in bytes (not the number of characters) of this textual
document
|
boolean |
isEncrypted()
Always returns 'false', as textual documents cannot be encrypted.
|
public final Charset getEncoding()
Returns detected presumable encoding of the text document
public final TextualFormats getFormat()
Returns a format of this textual document. May be not 100% correct in some cases.
getFormat in interface IDocumentInfopublic final int getPageCount()
Always returns 1
getPageCount in interface IDocumentInfopublic final long getSize()
Returns size in bytes (not the number of characters) of this textual document
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Always returns 'false', as textual documents cannot be encrypted.
isEncrypted in interface IDocumentInfoCopyright © 2024. All rights reserved.