EmailDocumentInfo

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.editor.metadata.IDocumentInfo

public class EmailDocumentInfo implements IDocumentInfo

Represents metadata of one email document of any supported email format

Constructors

Constructor Description
EmailDocumentInfo()

Methods

Method Description
getFormat() Returns a format of this email document
getPageCount() Always returs 1, because email documents don’t have paged view
getSize() Returns size in bytes of this email document
isEncrypted() Because email documents cannot be encrypted with password, this property always returns ‘false’
equals(EmailDocumentInfo other) Determines whether this instance is equal to the other specified EmailDocumentInfo instance

EmailDocumentInfo()

public EmailDocumentInfo()

getFormat()

public final DocumentFormatBase getFormat()

Returns a format of this email document

Returns: DocumentFormatBase

getPageCount()

public final int getPageCount()

Always returs 1, because email documents don’t have paged view

Returns: int

getSize()

public final long getSize()

Returns size in bytes of this email document

Returns: long

isEncrypted()

public final boolean isEncrypted()

Because email documents cannot be encrypted with password, this property always returns ‘false’

Returns: boolean

equals(EmailDocumentInfo other)

public final boolean equals(EmailDocumentInfo other)

Determines whether this instance is equal to the other specified EmailDocumentInfo instance

Parameters:

Parameter Type Description
other EmailDocumentInfo Other EmailDocumentInfo instance, that should be checked on equality with this

Returns: boolean - True if are equal, false if are unequal