|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.mail.Folder | +--oracle.mail.sdk.esmail.OracleFolder | +--oracle.mail.sdk.esmail.DefaultFolder
The api(s) in this folder should not be directly used by the user. A default folder does not exist on the store. It is only used as the root/namespace folder. Folder operations such as rename, delete, append, expunge, open, close, create are disallowed on the default folder.
Inner classes inherited from class oracle.mail.sdk.esmail.OracleFolder |
OracleFolder.OracleFlag |
Fields inherited from class javax.mail.Folder |
HOLDS_FOLDERS, HOLDS_MESSAGES, READ_ONLY, READ_WRITE |
Method Summary | |
void |
appendMessages(javax.mail.Message[] msgs) Appends messages to this folder. |
void |
close() |
void |
create() |
boolean |
delete(boolean recurse) Deletes this folder. |
boolean |
exists() Checks if the folder exists on the store. |
javax.mail.Message[] |
expunge() Expunges messages marked \DELETED. |
javax.mail.Folder |
getFolder(java.lang.String name) Returns the folder object corresponding to the given name. |
javax.mail.Message |
getMessage(int msgnum) Returns the message object corresponding to the given message number. |
int |
getMessageCount() Returns the total number of messages in a folder. |
java.lang.String |
getName() Returns the cannonical name of the folder. |
javax.mail.Folder |
getParent() Returns a new folder object that represents the parent of this folder. |
int |
getType() Returns the folder type - HOLDS_FOLDER, HOLDS_MESSAGE. |
boolean |
hasNewMessages() Checks whether the folder has messages with the \RECENT flag set. |
void |
open() |
boolean |
renameTo(javax.mail.Folder folder) Renames this folder and notifies the RenameListeners. |
Methods inherited from class oracle.mail.sdk.esmail.OracleFolder |
_doSearch, addACI, addACI, addACI, addACI, addACI, addACI, appendMessages, appendMessages, close, convertFlag, convertFlag, convertUsrFlag, copyMessages, create, fetch, getCounts, getFilteredHeaders, getFolderExpiry, getFolderId, getFolderSize, getFolderSize, getFullName, getFullPath, getGranteeACI, getMessageByType, getMessageByUID, getMessagesByUID, getMessagesByUID, getNewMessageCount, getPermanentFlags, getSeparator, getUID, getUIDValidity, getUnreadMessageCount, getURLName, isInheritedACI, isOpen, isShared, isSubscribed, list, listSubscribed, modifyACI, modifyACI, moveMessages, open, openInternal, removeACI, removeACI, removeACI, removeACI, search, search, setFlags, setFlags, setFlags, setFolderExpiry, setSubscribed, sortMessages |
Methods inherited from class javax.mail.Folder |
addConnectionListener, addFolderListener, addMessageChangedListener, addMessageCountListener, getMessages, getMessages, getMessages, getMode, getStore, list, listSubscribed, removeConnectionListener, removeFolderListener, removeMessageChangedListener, removeMessageCountListener, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public java.lang.String getName()
public javax.mail.Folder getParent()
public boolean hasNewMessages() throws javax.mail.MessagingException
public void open() throws javax.mail.MessagingException
public void close() throws javax.mail.MessagingException
public void create() throws javax.mail.MessagingException
public boolean exists() throws javax.mail.MessagingException
public boolean delete(boolean recurse) throws javax.mail.MessagingException
public javax.mail.Folder getFolder(java.lang.String name) throws javax.mail.MessagingException
public javax.mail.Message getMessage(int msgnum) throws javax.mail.MessagingException
public int getMessageCount() throws javax.mail.MessagingException
public boolean renameTo(javax.mail.Folder folder) throws javax.mail.MessagingException
public void appendMessages(javax.mail.Message[] msgs) throws javax.mail.MessagingException
msgs
- Message objects to append into this folderpublic javax.mail.Message[] expunge() throws javax.mail.MessagingException
public int getType() throws javax.mail.MessagingException
|
Oracle® Mail Java API Reference 10g Release 1 (10.1.1) B14492-01 |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |