public class EpubDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one Epub document
Constructor and Description |
---|
EpubDocumentInfo() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(EpubDocumentInfo other)
Determines whether this instance is equal to the other specified EpubDocumentInfo instance
|
EBookFormats |
getFormat()
Returns a format of this Epub document — always is Epub
|
int |
getPageCount()
Returns number of chapter.
|
long |
getSize()
Returns size in bytes of this Epub document
|
boolean |
isEncrypted()
Because Epub documents cannot be encrypted with password, this property always returns 'false'
|
public final boolean equals(EpubDocumentInfo other)
Determines whether this instance is equal to the other specified EpubDocumentInfo instance
other
- Other EpubDocumentInfo instance, that should be checked on equality with thispublic final EBookFormats getFormat()
Returns a format of this Epub document — always is Epub
getFormat
in interface IDocumentInfo
public final int getPageCount()
Returns number of chapter.
getPageCount
in interface IDocumentInfo
public final long getSize()
Returns size in bytes of this Epub document
getSize
in interface IDocumentInfo
public final boolean isEncrypted()
Because Epub documents cannot be encrypted with password, this property always returns 'false'
isEncrypted
in interface IDocumentInfo