All Packages This Package Class Hierarchy Class Search Index
Class grendel.storage.PopStore
java.lang.Object
|
+----javax.mail.Service
|
+----javax.mail.Store
|
+----grendel.storage.PopStore
public class PopStore
extends javax.mail.Store
{
// Fields 17
static final boolean DEBUG;
protected static PopStore DefaultStore;
protected PopFolder defaultFolder;
Folder fFolder;
String fHost;
InputStream fInput;
int fNumWaiting;
DataOutputStream fOutput;
int fPort;
Socket fSocket;
String fUser;
StringBuffer inbuffer;
DotTerminatedInputStream pendingstream;
File popstatefile;
public boolean topUnimplemented;
public boolean uidlUnimplemented;
public boolean xtndUnimplemented;
// Constructors 2
public PopStore(Session);
public PopStore(Session, URLName);
// Methods 16
public static Store GetDefaultStore(Session);
static void Spew(String);
protected void check(String, String) throws MessagingException;
public synchronized void close();
protected void dealWithPendingStream();
public Folder getDefaultFolder();
public Folder getFolder(String) throws MessagingException;
public Folder getFolder(URLName);
protected Hashtable loadLeaveOnServerList();
public synchronized boolean protocolConnect(String, String, String) throws MessagingException;
protected synchronized String readln() throws MessagingException;
protected boolean resultOK(String);
protected void saveLeaveOnServerList(Hashtable) throws IOException;
synchronized InputStream sendRetr(int) throws MessagingException;
synchronized InputStream sendTopOrRetr(int, int) throws MessagingException;
protected synchronized void writeln(String) throws MessagingException;
}
Fields
static final boolean DEBUG
protected PopFolder defaultFolder
String fHost
int fPort
String fUser
Folder fFolder
int fNumWaiting
Socket fSocket
InputStream fInput
DataOutputStream fOutput
DotTerminatedInputStream pendingstream
File popstatefile
public boolean uidlUnimplemented
public boolean xtndUnimplemented
public boolean topUnimplemented
protected static PopStore DefaultStore
StringBuffer inbuffer
Constructors
public PopStore(Session s)
public PopStore(Session s,
URLName u)
Methods
static void Spew(String s)
public static Store GetDefaultStore(Session s)
public synchronized boolean protocolConnect(String host,
String user,
String password) throws MessagingException
public synchronized void close()
- Overrides:
- close in class Service
public Folder getDefaultFolder()
- Overrides:
- getDefaultFolder in class Store
public Folder getFolder(String name) throws MessagingException
- Overrides:
- getFolder in class Store
public Folder getFolder(URLName url)
- Overrides:
- getFolder in class Store
protected synchronized void writeln(String line) throws MessagingException
protected synchronized String readln() throws MessagingException
protected void check(String line,
String err) throws MessagingException
protected boolean resultOK(String line)
protected void dealWithPendingStream()
synchronized InputStream sendTopOrRetr(int msgnum,
int numlines) throws MessagingException
synchronized InputStream sendRetr(int msgnum) throws MessagingException
protected Hashtable loadLeaveOnServerList()
protected void saveLeaveOnServerList(Hashtable table) throws IOException
All Packages This Package Class Hierarchy Class Search Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4