public class EbookDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one EBook document
| Constructor and Description |
|---|
EbookDocumentInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(EbookDocumentInfo other)
Determines whether this instance is equal to the other specified EbookDocumentInfo instance
|
com.groupdocs.editor.formats.abstraction.DocumentFormatBase |
getFormat()
Returns a format of this document
|
int |
getPageCount()
Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub.
|
long |
getSize()
Returns size in bytes of this eBook document
|
boolean |
isEncrypted()
Because eBook documents cannot be encrypted with password, this property always returns 'false'
|
public final boolean equals(EbookDocumentInfo other)
Determines whether this instance is equal to the other specified EbookDocumentInfo instance
other - Other EbookDocumentInfo instance, that should be checked on equality with thispublic final com.groupdocs.editor.formats.abstraction.DocumentFormatBase getFormat()
Returns a format of this document
getFormat in interface IDocumentInfopublic final int getPageCount()
Returns number of pages in case of MOBI or AZW3 or number of chapters in case of ePub.
getPageCount in interface IDocumentInfopublic final long getSize()
Returns size in bytes of this eBook document
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Because eBook documents cannot be encrypted with password, this property always returns 'false'
isEncrypted in interface IDocumentInfoCopyright © 2026. All rights reserved.