Top Description Fields Constructors Methods
com.sun.mail.imap.protocol

public Class MailboxInfo

extends Object
Class Inheritance
Imports
java.util.List, .ArrayList, javax.mail.Flags, com.sun.mail.iap.*

Information collected when opening a mailbox.
Authors
John Mani, Bill Shannon

Field Summary

Modifier and TypeField and Description
public Flags
availableFlags

The available flags.

public int
first

The first unseen message.

public long
highestmodseq

The highest MODSEQ value.

public int
mode

Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.

public Flags
permanentFlags

The permanent flags.

public int
recent

The number of recent messages.

public List<IMAPResponse>
responses

VANISHED or FETCH responses received while opening the mailbox.

public int
total

The total number of messages.

public long
uidnext

The next UID value to be assigned.

public boolean
uidNotSticky

UIDs are not sticky.

public long
uidvalidity

The UIDVALIDITY.

Constructor Summary

AccessConstructor and Description
public
MailboxInfo(Response[]
the responses
r
)

Collect the information about this mailbox from the responses to a SELECT or EXAMINE.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

availableFlagsback to summary
public Flags availableFlags

The available flags.

firstback to summary
public int first

The first unseen message.

highestmodseqback to summary
public long highestmodseq

The highest MODSEQ value.

modeback to summary
public int mode

Folder.READ_WRITE or Folder.READ_ONLY, set by IMAPProtocol.

permanentFlagsback to summary
public Flags permanentFlags

The permanent flags.

recentback to summary
public int recent

The number of recent messages.

responsesback to summary
public List<IMAPResponse> responses

VANISHED or FETCH responses received while opening the mailbox.

totalback to summary
public int total

The total number of messages.

uidnextback to summary
public long uidnext

The next UID value to be assigned.

uidNotStickyback to summary
public boolean uidNotSticky

UIDs are not sticky.

uidvalidityback to summary
public long uidvalidity

The UIDVALIDITY.

Constructor Detail

MailboxInfoback to summary
public MailboxInfo(Response[] r) throws ParsingException

Collect the information about this mailbox from the responses to a SELECT or EXAMINE.

Parameters
r:Response[]

the responses

Exceptions
ParsingException:
for errors parsing the responses