Package com.sun.mail.imap.protocol
Class MailboxInfo
java.lang.Object
com.sun.mail.imap.protocol.MailboxInfo
Information collected when opening a mailbox.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe available flags.int
The first unseen message.long
The highest MODSEQ value.int
Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.The permanent flags.int
The number of recent messages.VANISHED or FETCH responses received while opening the mailbox.int
The total number of messages.long
The next UID value to be assigned.boolean
UIDs are not sticky.long
The 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
-