|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hs.mail.imap.mailbox.Mailbox
public class Mailbox
Mailbox is a class that represents a mailbox for mail messages.
Field Summary | |
---|---|
static String |
folderSeparator
Delimiter string that separates mailbox's pathname from the names of immediate sub-mailboxes. |
Constructor Summary | |
---|---|
Mailbox()
|
|
Mailbox(String name)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
long |
getMailboxID()
|
String |
getName()
Returns the full name of this mailbox. |
long |
getNextUID()
Returns the predicted UID that will be assigned to the next message that is appended to this mailbox. |
long |
getOwnerID()
|
static String |
getParent(String mailboxName)
Get the full name of parent mailbox for given mailbox. |
long |
getUidValidity()
Returns the UIDValidity for this mailbox. |
boolean |
hasChildren()
Check whether this mailbox has child mailboxes. |
boolean |
isChildOf(Mailbox mailbox)
Check if this mailbox is subsequent child of the given mailbox. |
boolean |
isMarked()
|
boolean |
isNoInferiors()
Check whether this mailbox can have child mailboxes. |
boolean |
isNoSelect()
Check whether this mailbox can be selected. |
boolean |
isReadOnly()
Check whether this mailbox is read-only. |
Mailbox |
rename(String base,
String dest)
|
void |
setHasChildren(boolean hasChildren)
|
void |
setMailboxID(long mailboxID)
|
void |
setMarked(boolean marked)
|
void |
setName(String name)
|
void |
setNextUID(long nextUid)
|
void |
setNoInferiors(boolean noInferiors)
|
void |
setNoSelect(boolean noSelect)
|
void |
setOwnerID(long ownerID)
|
void |
setReadOnly(boolean readOnly)
|
void |
setUidValidity(long uidValidity)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String folderSeparator
Constructor Detail |
---|
public Mailbox()
public Mailbox(String name)
Method Detail |
---|
public long getMailboxID()
public void setMailboxID(long mailboxID)
public String getName()
public void setName(String name)
public long getOwnerID()
public void setOwnerID(long ownerID)
public long getNextUID()
public void setNextUID(long nextUid)
public long getUidValidity()
public void setUidValidity(long uidValidity)
public boolean isNoInferiors()
public void setNoInferiors(boolean noInferiors)
public boolean isNoSelect()
public void setNoSelect(boolean noSelect)
public boolean isReadOnly()
public void setReadOnly(boolean readOnly)
public boolean isMarked()
public void setMarked(boolean marked)
public boolean hasChildren()
public void setHasChildren(boolean hasChildren)
public boolean isChildOf(Mailbox mailbox)
mailbox
- potential parent mailbox
public Mailbox rename(String base, String dest)
public boolean equals(Object obj)
equals
in class Object
public static String getParent(String mailboxName)
mailboxName
- full name of the mailbox
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |