| |
|
| echo2example.email.faux.FauxFolder
FauxFolder | public class FauxFolder extends Folder (Code) | | A minimal implementation of a JavaMail Folder to serve the
requirements of the e-mail application.
|
appendMessages | public void appendMessages(Message[] messages) throws MessagingException(Code) | | See Also: javax.mail.Folder.appendMessages(javax.mail.Message[]) |
close | public void close(boolean expunge) throws MessagingException(Code) | | See Also: javax.mail.Folder.close(boolean) |
create | public boolean create(int type) throws MessagingException(Code) | | See Also: javax.mail.Folder.create(int) |
createInbox | final public static FauxFolder createInbox(FauxStore store)(Code) | | Creates the "INBOX" folder.
Parameters: store - the relevant Store the created INBOX |
createRoot | final public static FauxFolder createRoot(FauxStore store)(Code) | | Creates the root folder.
Parameters: store - the relevant Store the created root folder |
delete | public boolean delete(boolean recurse) throws MessagingException(Code) | | See Also: javax.mail.Folder.delete(boolean) |
exists | public boolean exists() throws MessagingException(Code) | | See Also: javax.mail.Folder.exists |
expunge | public Message[] expunge() throws MessagingException(Code) | | See Also: javax.mail.Folder.expunge |
getFolder | public Folder getFolder(String name) throws MessagingException(Code) | | See Also: javax.mail.Folder.getFolder(java.lang.String) |
getFullName | public String getFullName()(Code) | | See Also: javax.mail.Folder.getFullName |
getMessage | public Message getMessage(int index) throws MessagingException(Code) | | See Also: javax.mail.Folder.getMessage(int) |
getMessageCount | public int getMessageCount() throws MessagingException(Code) | | See Also: javax.mail.Folder.getMessageCount |
getName | public String getName()(Code) | | See Also: javax.mail.Folder.getName |
getParent | public Folder getParent() throws MessagingException(Code) | | See Also: javax.mail.Folder.getParent |
getPermanentFlags | public Flags getPermanentFlags()(Code) | | See Also: javax.mail.Folder.getPermanentFlags |
getSeparator | public char getSeparator() throws MessagingException(Code) | | See Also: javax.mail.Folder.getSeparator |
getType | public int getType() throws MessagingException(Code) | | See Also: javax.mail.Folder.getType |
hasNewMessages | public boolean hasNewMessages() throws MessagingException(Code) | | See Also: javax.mail.Folder.hasNewMessages |
isOpen | public boolean isOpen()(Code) | | See Also: javax.mail.Folder.isOpen |
list | public Folder[] list(String pattern) throws MessagingException(Code) | | See Also: javax.mail.Folder.list(java.lang.String) |
open | public void open(int mode) throws MessagingException(Code) | | See Also: javax.mail.Folder.open(int) |
renameTo | public boolean renameTo(Folder folder) throws MessagingException(Code) | | See Also: javax.mail.Folder.renameTo(javax.mail.Folder) |
|
|
|