Pop3MailboxInfo

Inheritance: java.lang.Object

public class Pop3MailboxInfo

Represents the status of the mailbox.

Constructors

Constructor Description
Pop3MailboxInfo(int count, long size) Initializes a new instance of the Pop3MailboxInfo class.

Methods

Method Description
getMessageCount() Gets the count of messages in the mailbox.
getOccupiedSize() Gets the occupied size of the mailbox.
toString() Returns a String that represents this instance.

Pop3MailboxInfo(int count, long size)

public Pop3MailboxInfo(int count, long size)

Initializes a new instance of the Pop3MailboxInfo class.

Parameters:

Parameter Type Description
count int The message count.
size long The occupied size.

getMessageCount()

public final int getMessageCount()

Gets the count of messages in the mailbox.

Value: The message count.

Returns: int

getOccupiedSize()

public final long getOccupiedSize()

Gets the occupied size of the mailbox.

Value: The occupied size.

Returns: long

toString()

public String toString()

Returns a String that represents this instance.

Returns: java.lang.String - A String that represents this instance.