All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.BerkeleyStore
java.lang.Object | +----javax.mail.Service | +----javax.mail.Store | +----grendel.storage.BerkeleyStore
Store for Berkeley mail folders.
This class really shouldn't be public, but I haven't figured out how to tie into javamail's Session class properly. So, instead of using Session.getStore(String), you instead need to call BerkeleyStore.GetDefaultStore(Session).
public class BerkeleyStore extends javax.mail.Store { // Fields 2 protected static BerkeleyStore DefaultStore; protected Folder defaultFolder; // Constructors 2 public BerkeleyStore(Session); public BerkeleyStore(Session, URLName); // Methods 8 public static Store GetDefaultStore(Session); public void close(); public void connect(); public void connect(String, String, String); public Folder getDefaultFolder(); public Folder getFolder(String) throws MessagingException; public Folder getFolder(URL); public Folder getFolder(URLName); }
Fields
defaultFolder
protected Folder defaultFolder
DefaultStore
protected static BerkeleyStore DefaultStore
Constructors
BerkeleyStore
public BerkeleyStore(Session s)
BerkeleyStore
public BerkeleyStore(Session s, URLName u)
Methods
GetDefaultStore
public static Store GetDefaultStore(Session s)
connect
public void connect(String host, String user, String password)
connect
public void connect()
close
public void close()
getDefaultFolder
public Folder getDefaultFolder()
- Overrides:
- getDefaultFolder in class Store
getFolder
public Folder getFolder(String name) throws MessagingException
getFolder
public Folder getFolder(URL url)
getFolder
public Folder getFolder(URLName urlName)
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4