|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mailbox.MailboxPath
public class MailboxPath
The path to a mailbox.
| Constructor Summary | |
|---|---|
MailboxPath(MailboxPath mailboxPath)
|
|
MailboxPath(MailboxPath mailboxPath,
java.lang.String name)
|
|
MailboxPath(java.lang.String namespace,
java.lang.String user,
java.lang.String name)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object mailboxPath)
|
java.util.List<MailboxPath> |
getHierarchyLevels(char delimiter)
Return a list of MailboxPath representing the hierarchy levels of this MailboxPath. |
java.lang.String |
getName()
Get the name of the mailbox. |
java.lang.String |
getNamespace()
Get the namespace this mailbox is in |
java.lang.String |
getUser()
Get the name of the user who owns the mailbox. |
int |
hashCode()
|
static MailboxPath |
inbox(java.lang.String username)
Return a MailboxPath which represent the INBOX of the given username |
void |
setName(java.lang.String name)
Set the name of the mailbox. |
void |
setNamespace(java.lang.String namespace)
Set the namespace this mailbox is in |
void |
setUser(java.lang.String user)
Set the name of the user who owns the mailbox. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailboxPath(java.lang.String namespace,
java.lang.String user,
java.lang.String name)
public MailboxPath(MailboxPath mailboxPath)
public MailboxPath(MailboxPath mailboxPath,
java.lang.String name)
| Method Detail |
|---|
public java.lang.String getNamespace()
public void setNamespace(java.lang.String namespace)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.util.List<MailboxPath> getHierarchyLevels(char delimiter)
delimiter -
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object mailboxPath)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static MailboxPath inbox(java.lang.String username)
MailboxPath which represent the INBOX of the given username
username -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||