![]() |
All Packages This Package Class Hierarchy Class Search Index Class grendel.storage.PopStorejava.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 DEBUGstatic final boolean DEBUG defaultFolderprotected PopFolder defaultFolder fHostString fHost fPortint fPort fUserString fUser fFolderFolder fFolder fNumWaitingint fNumWaiting fSocketSocket fSocket fInputInputStream fInput fOutputDataOutputStream fOutput pendingstreamDotTerminatedInputStream pendingstream popstatefileFile popstatefile uidlUnimplementedpublic boolean uidlUnimplemented xtndUnimplementedpublic boolean xtndUnimplemented topUnimplementedpublic boolean topUnimplemented DefaultStoreprotected static PopStore DefaultStore inbufferStringBuffer inbuffer
Constructors PopStorepublic PopStore(Session s) PopStorepublic PopStore(Session s, URLName u) Methods Spewstatic void Spew(String s) GetDefaultStorepublic static Store GetDefaultStore(Session s) protocolConnectpublic synchronized boolean protocolConnect(String host, String user, String password) throws MessagingException closepublic synchronized void close() getDefaultFolderpublic Folder getDefaultFolder()
getFolderpublic Folder getFolder(String name) throws MessagingException getFolderpublic Folder getFolder(URLName url) writelnprotected synchronized void writeln(String line) throws MessagingException readlnprotected synchronized String readln() throws MessagingException checkprotected void check(String line, String err) throws MessagingException resultOKprotected boolean resultOK(String line) dealWithPendingStreamprotected void dealWithPendingStream() sendTopOrRetrsynchronized InputStream sendTopOrRetr(int msgnum, int numlines) throws MessagingException sendRetrsynchronized InputStream sendRetr(int msgnum) throws MessagingException loadLeaveOnServerListprotected Hashtable loadLeaveOnServerList() saveLeaveOnServerListprotected void saveLeaveOnServerList(Hashtable table) throws IOException All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4 |
|
|
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998. |
|