public class MailFileFolder
extends javax.mail.Folder
Constructor and Description |
---|
MailFileFolder(javax.mail.Store store,
String path) |
MailFileFolder(javax.mail.Store store,
javax.mail.URLName path) |
Modifier and Type | Method and Description |
---|---|
void |
appendMessages(javax.mail.Message[] messages) |
void |
close(boolean expunge) |
boolean |
create(int type) |
boolean |
delete(boolean recurse) |
boolean |
exists() |
javax.mail.Message[] |
expunge() |
javax.mail.Folder |
getFolder(String name) |
String |
getFullName() |
javax.mail.Message |
getMessage(int index) |
int |
getMessageCount() |
String |
getName() |
javax.mail.Folder |
getParent() |
javax.mail.Flags |
getPermanentFlags() |
char |
getSeparator() |
int |
getType() |
boolean |
hasNewMessages() |
boolean |
isOpen() |
javax.mail.Folder[] |
list(String pattern) |
void |
open(int mode) |
boolean |
renameTo(javax.mail.Folder newName) |
addConnectionListener, addFolderListener, addMessageChangedListener, addMessageCountListener, copyMessages, fetch, finalize, getDeletedMessageCount, getMessages, getMessages, getMessages, getMode, getNewMessageCount, getStore, getUnreadMessageCount, getURLName, isSubscribed, list, listSubscribed, listSubscribed, notifyConnectionListeners, notifyFolderListeners, notifyFolderRenamedListeners, notifyMessageAddedListeners, notifyMessageChangedListeners, notifyMessageRemovedListeners, removeConnectionListener, removeFolderListener, removeMessageChangedListener, removeMessageCountListener, search, search, setFlags, setFlags, setFlags, setSubscribed, toString
public MailFileFolder(javax.mail.Store store, String path)
public MailFileFolder(javax.mail.Store store, javax.mail.URLName path)
public void appendMessages(javax.mail.Message[] messages) throws javax.mail.MessagingException
appendMessages
in class javax.mail.Folder
javax.mail.MessagingException
public void close(boolean expunge) throws javax.mail.MessagingException
close
in class javax.mail.Folder
javax.mail.MessagingException
public boolean create(int type) throws javax.mail.MessagingException
create
in class javax.mail.Folder
javax.mail.MessagingException
public boolean delete(boolean recurse) throws javax.mail.MessagingException
delete
in class javax.mail.Folder
javax.mail.MessagingException
public boolean exists() throws javax.mail.MessagingException
exists
in class javax.mail.Folder
javax.mail.MessagingException
public javax.mail.Message[] expunge() throws javax.mail.MessagingException
expunge
in class javax.mail.Folder
javax.mail.MessagingException
public javax.mail.Folder getFolder(String name) throws javax.mail.MessagingException
getFolder
in class javax.mail.Folder
javax.mail.MessagingException
public String getFullName()
getFullName
in class javax.mail.Folder
public javax.mail.Message getMessage(int index) throws javax.mail.MessagingException
getMessage
in class javax.mail.Folder
javax.mail.MessagingException
public int getMessageCount() throws javax.mail.MessagingException
getMessageCount
in class javax.mail.Folder
javax.mail.MessagingException
public String getName()
getName
in class javax.mail.Folder
public javax.mail.Folder getParent() throws javax.mail.MessagingException
getParent
in class javax.mail.Folder
javax.mail.MessagingException
public javax.mail.Flags getPermanentFlags()
getPermanentFlags
in class javax.mail.Folder
public char getSeparator() throws javax.mail.MessagingException
getSeparator
in class javax.mail.Folder
javax.mail.MessagingException
public int getType() throws javax.mail.MessagingException
getType
in class javax.mail.Folder
javax.mail.MessagingException
public boolean hasNewMessages() throws javax.mail.MessagingException
hasNewMessages
in class javax.mail.Folder
javax.mail.MessagingException
public boolean isOpen()
isOpen
in class javax.mail.Folder
public javax.mail.Folder[] list(String pattern) throws javax.mail.MessagingException
list
in class javax.mail.Folder
javax.mail.MessagingException
public void open(int mode) throws javax.mail.MessagingException
open
in class javax.mail.Folder
javax.mail.MessagingException
public boolean renameTo(javax.mail.Folder newName) throws javax.mail.MessagingException
renameTo
in class javax.mail.Folder
javax.mail.MessagingException
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.