Class MailFileStore
java.lang.Object
javax.mail.Service
javax.mail.Store
org.apache.jmeter.protocol.mail.sampler.MailFileStore
public class MailFileStore
extends javax.mail.Store
-
Field Summary
Fields inherited from class javax.mail.Service
debug, session, url
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.mail.Folder
javax.mail.Folder
javax.mail.Folder
getFolder
(javax.mail.URLName path) protected boolean
protocolConnect
(String host, int port, String user, String password) Methods inherited from class javax.mail.Store
addFolderListener, addStoreListener, getPersonalNamespaces, getSharedNamespaces, getUserNamespaces, notifyFolderListeners, notifyFolderRenamedListeners, notifyStoreListeners, removeFolderListener, removeStoreListener
Methods inherited from class javax.mail.Service
addConnectionListener, close, connect, connect, connect, connect, finalize, getURLName, isConnected, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toString
-
Constructor Details
-
MailFileStore
public MailFileStore(javax.mail.Session s, javax.mail.URLName u)
-
-
Method Details
-
protocolConnect
protected boolean protocolConnect(String host, int port, String user, String password) throws javax.mail.MessagingException - Overrides:
protocolConnect
in classjavax.mail.Service
- Throws:
javax.mail.MessagingException
-
getDefaultFolder
public javax.mail.Folder getDefaultFolder() throws javax.mail.MessagingException- Specified by:
getDefaultFolder
in classjavax.mail.Store
- Throws:
javax.mail.MessagingException
-
getFolder
- Specified by:
getFolder
in classjavax.mail.Store
- Throws:
javax.mail.MessagingException
-
getFolder
public javax.mail.Folder getFolder(javax.mail.URLName path) throws javax.mail.MessagingException - Specified by:
getFolder
in classjavax.mail.Store
- Throws:
javax.mail.MessagingException
-