Package com.sun.mail.imap.protocol
Class MailboxInfo
java.lang.Object
com.sun.mail.imap.protocol.MailboxInfo
Information collected when opening a mailbox.
- Author:
- John Mani, Bill Shannon
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe available flags.intThe first unseen message.longThe highest MODSEQ value.intFolder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.The permanent flags.intThe number of recent messages.VANISHED or FETCH responses received while opening the mailbox.intThe total number of messages.longThe next UID value to be assigned.booleanUIDs are not sticky.longThe UIDVALIDITY. -
Constructor Summary
ConstructorsConstructorDescriptionMailboxInfo(Response[] r) Collect the information about this mailbox from the responses to a SELECT or EXAMINE. -
Method Summary
-
Field Details
-
availableFlags
The available flags. -
permanentFlags
The permanent flags. -
total
public int totalThe total number of messages. -
recent
public int recentThe number of recent messages. -
first
public int firstThe first unseen message. -
uidvalidity
public long uidvalidityThe UIDVALIDITY. -
uidnext
public long uidnextThe next UID value to be assigned. -
uidNotSticky
public boolean uidNotStickyUIDs are not sticky. -
highestmodseq
public long highestmodseqThe highest MODSEQ value. -
mode
public int modeFolder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol. -
responses
VANISHED or FETCH responses received while opening the mailbox.
-
-
Constructor Details
-
MailboxInfo
Collect the information about this mailbox from the responses to a SELECT or EXAMINE.- Parameters:
r- the responses- Throws:
ParsingException- for errors parsing the responses
-