public class MailboxInfo extends Object
Modifier and Type | Field and Description |
---|---|
Flags |
availableFlags
The available flags.
|
int |
first
The first unseen message.
|
long |
highestmodseq
The highest MODSEQ value.
|
int |
mode
Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.
|
Flags |
permanentFlags
The permanent flags.
|
int |
recent
The number of recent messages.
|
List<IMAPResponse> |
responses
VANISHED or FETCH responses received while opening the mailbox.
|
int |
total
The total number of messages.
|
long |
uidnext
The next UID value to be assigned.
|
long |
uidvalidity
The UIDVALIDITY.
|
Constructor and Description |
---|
MailboxInfo(Response[] r)
Collect the information about this mailbox from the
responses to a SELECT or EXAMINE.
|
public Flags availableFlags
public Flags permanentFlags
public int total
public int recent
public int first
public long uidvalidity
public long uidnext
public long highestmodseq
public int mode
public List<IMAPResponse> responses
public MailboxInfo(Response[] r) throws ParsingException
r
- the responsesParsingException
- for errors parsing the responsesCopyright © 2016 JBoss by Red Hat. All rights reserved.