You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



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


• DEBUG

   static final boolean DEBUG


• defaultFolder

   protected PopFolder defaultFolder


• fHost

   String fHost


• fPort

   int fPort


• fUser

   String fUser


• fFolder

   Folder fFolder


• fNumWaiting

   int fNumWaiting


• fSocket

   Socket fSocket


• fInput

   InputStream fInput


• fOutput

   DataOutputStream fOutput


• pendingstream

   DotTerminatedInputStream pendingstream


• popstatefile

   File popstatefile


• uidlUnimplemented

   public boolean uidlUnimplemented


• xtndUnimplemented

   public boolean xtndUnimplemented


• topUnimplemented

   public boolean topUnimplemented


• DefaultStore

   protected static PopStore DefaultStore


• inbuffer

   StringBuffer inbuffer



Constructors


• PopStore

   public PopStore(Session s) 


• PopStore

   public PopStore(Session s, 
                   URLName u) 



Methods


• Spew

   static void Spew(String s) 


• GetDefaultStore

   public static Store GetDefaultStore(Session s) 


• protocolConnect

   public synchronized boolean protocolConnect(String host, 
                                               String user, 
                                               String password)  throws MessagingException


• close

   public synchronized void close() 
Overrides:
close in class Service


• getDefaultFolder

   public Folder getDefaultFolder() 
Overrides:
getDefaultFolder in class Store


• getFolder

   public Folder getFolder(String name)  throws MessagingException
Overrides:
getFolder in class Store


• getFolder

   public Folder getFolder(URLName url) 
Overrides:
getFolder in class Store


• writeln

   protected synchronized void writeln(String line)  throws MessagingException


• readln

   protected synchronized String readln()  throws MessagingException


• check

   protected void check(String line, 
                        String err)  throws MessagingException


• resultOK

   protected boolean resultOK(String line) 


• dealWithPendingStream

   protected void dealWithPendingStream() 


• sendTopOrRetr

   synchronized InputStream sendTopOrRetr(int msgnum, 
                                          int numlines)  throws MessagingException


• sendRetr

   synchronized InputStream sendRetr(int msgnum)  throws MessagingException


• loadLeaveOnServerList

   protected Hashtable loadLeaveOnServerList() 


• saveLeaveOnServerList

   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