net.fortuna.mstor
Class MStorStore
java.lang.Object
javax.mail.Service
javax.mail.Store
net.fortuna.mstor.MStorStore
public class MStorStore
- extends Store
Implementation of a javamail store for the mstor provider.
Metadata is enabled by default, however it may be disabled by specifying
the following session property:
mstor.meta.enabled=false
- Author:
- Ben Fortuna
Methods inherited from class javax.mail.Service |
addConnectionListener, close, connect, connect, connect, getURLName, isConnected, notifyConnectionListeners, queueEvent, removeConnectionListener, setConnected, setURLName, toString |
INBOX
public static final String INBOX
- See Also:
- Constant Field Values
MStorStore
public MStorStore(Session session,
URLName url)
- Constructor.
- Parameters:
session
- url
-
getDefaultFolder
public final Folder getDefaultFolder()
throws MessagingException
- Specified by:
getDefaultFolder
in class Store
- Throws:
MessagingException
getFolder
public final Folder getFolder(String name)
throws MessagingException
- Specified by:
getFolder
in class Store
- Throws:
MessagingException
getFolder
public final Folder getFolder(URLName url)
throws MessagingException
- Specified by:
getFolder
in class Store
- Throws:
MessagingException
protocolConnect
protected final boolean protocolConnect(String arg0,
int arg1,
String arg2,
String arg3)
throws MessagingException
- Override the superclass method to bypass authentication.
- Overrides:
protocolConnect
in class Service
- Throws:
MessagingException
isMetaEnabled
public final boolean isMetaEnabled()
- Returns:
- Returns the metaEnabled.
setMetaEnabled
public final void setMetaEnabled(boolean metaEnabled)
- Parameters:
metaEnabled
- The metaEnabled to set.