Class MailFileFolder
java.lang.Object
javax.mail.Folder
org.apache.jmeter.protocol.mail.sampler.MailFileFolder
public class MailFileFolder
extends javax.mail.Folder
- 
Field SummaryFields inherited from class javax.mail.FolderHOLDS_FOLDERS, HOLDS_MESSAGES, mode, READ_ONLY, READ_WRITE, store
- 
Constructor SummaryConstructorsConstructorDescriptionMailFileFolder(javax.mail.Store store, String path) MailFileFolder(javax.mail.Store store, javax.mail.URLName path) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidappendMessages(javax.mail.Message[] messages) voidclose(boolean expunge) booleancreate(int type) booleandelete(boolean recurse) booleanexists()javax.mail.Message[]expunge()javax.mail.Folderjavax.mail.MessagegetMessage(int index) intgetName()javax.mail.Folderjavax.mail.FlagscharintgetType()booleanbooleanisOpen()javax.mail.Folder[]voidopen(int mode) booleanrenameTo(javax.mail.Folder newName) Methods inherited from class javax.mail.FolderaddConnectionListener, 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
- 
Constructor Details- 
MailFileFolder
- 
MailFileFolderpublic MailFileFolder(javax.mail.Store store, javax.mail.URLName path) 
 
- 
- 
Method Details- 
appendMessagespublic void appendMessages(javax.mail.Message[] messages) throws javax.mail.MessagingException - Specified by:
- appendMessagesin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
closepublic void close(boolean expunge) throws javax.mail.MessagingException - Specified by:
- closein class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
createpublic boolean create(int type) throws javax.mail.MessagingException - Specified by:
- createin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
deletepublic boolean delete(boolean recurse) throws javax.mail.MessagingException - Specified by:
- deletein class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
existspublic boolean exists() throws javax.mail.MessagingException- Specified by:
- existsin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
expungepublic javax.mail.Message[] expunge() throws javax.mail.MessagingException- Specified by:
- expungein class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getFolder- Specified by:
- getFolderin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getFullName- Specified by:
- getFullNamein class- javax.mail.Folder
 
- 
getMessagepublic javax.mail.Message getMessage(int index) throws javax.mail.MessagingException - Specified by:
- getMessagein class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getMessageCountpublic int getMessageCount() throws javax.mail.MessagingException- Specified by:
- getMessageCountin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getName- Specified by:
- getNamein class- javax.mail.Folder
 
- 
getParentpublic javax.mail.Folder getParent() throws javax.mail.MessagingException- Specified by:
- getParentin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getPermanentFlagspublic javax.mail.Flags getPermanentFlags()- Specified by:
- getPermanentFlagsin class- javax.mail.Folder
 
- 
getSeparatorpublic char getSeparator() throws javax.mail.MessagingException- Specified by:
- getSeparatorin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
getTypepublic int getType() throws javax.mail.MessagingException- Specified by:
- getTypein class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
hasNewMessagespublic boolean hasNewMessages() throws javax.mail.MessagingException- Specified by:
- hasNewMessagesin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
isOpenpublic boolean isOpen()- Specified by:
- isOpenin class- javax.mail.Folder
 
- 
list- Specified by:
- listin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
openpublic void open(int mode) throws javax.mail.MessagingException - Specified by:
- openin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
- 
renameTopublic boolean renameTo(javax.mail.Folder newName) throws javax.mail.MessagingException - Specified by:
- renameToin class- javax.mail.Folder
- Throws:
- javax.mail.MessagingException
 
 
-