public class StandardFolderId extends FolderId
| Constructor and Description |
|---|
StandardFolderId()
Instantiates a new standard folder id.
|
StandardFolderId(StandardFolder id)
Instantiates a new standard folder id.
|
StandardFolderId(StandardFolder id,
Mailbox mailbox)
Instantiates a new standard folder id.
|
StandardFolderId(StandardFolder id,
java.lang.String changeKey)
Instantiates a new standard folder id.
|
StandardFolderId(StandardFolder id,
java.lang.String changeKey,
Mailbox mailbox)
Instantiates a new standard folder id.
|
| Modifier and Type | Method and Description |
|---|---|
Mailbox |
getMailbox()
Gets the mailbox.
|
StandardFolder |
getStandardFolder()
Gets the standard folder.
|
void |
setMailbox(Mailbox mailbox)
Sets the mailbox.
|
void |
setStandardFolder(StandardFolder id)
Sets the standard folder.
|
java.lang.String |
toString()
Converts the value of the current FolderId object to its equivalent string representation.
|
getChangeKey, setChangeKeypublic StandardFolderId()
public StandardFolderId(StandardFolder id)
id - the idpublic StandardFolderId(StandardFolder id, java.lang.String changeKey)
id - the idchangeKey - the change keypublic StandardFolderId(StandardFolder id, Mailbox mailbox)
id - the idmailbox - the mailboxpublic StandardFolderId(StandardFolder id, java.lang.String changeKey, Mailbox mailbox)
id - the idchangeKey - the change keymailbox - the mailboxpublic java.lang.String toString()
FolderIdpublic StandardFolder getStandardFolder()
public void setStandardFolder(StandardFolder id)
id - the new standard folderpublic Mailbox getMailbox()
public void setMailbox(Mailbox mailbox)
mailbox - the new mailbox