|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jthomas.mailfaces.FaceServer
Each FaceServer object contains the information needed to create a Mailbox object for the specified server. The FaceServer class object maintains a list of these FaceServer objects. It contains a createMailbox method that acts as a factory for FaceMailbox objects.
FaceMailbox
Constructor Summary | |
FaceServer(java.lang.String mailServer)
Constructor for a FaceServer object It will parse the FaceServer information from the Options file and get the following information for each server (if available) Type ( Pop3,APOP,IMAP) Host Userid Password |
Method Summary | |
static void |
createList()
createList is a Class method that will create an array of FaceServer Objects based on the current FaceOptions information. |
FaceMailbox |
createMailbox()
Method: createMailbox() Create the appropriate type of FaceMailbox object for this FaceServer. |
static int |
getCount()
Class method to return a count of the number of servers. |
java.lang.String |
getHost()
|
static FaceServer[] |
getList()
Class method to return a list of FaceServer objects. |
boolean |
getLoginInfo()
Use the PromptLogin dialog to get any missing Login info |
java.lang.String |
getName()
|
java.lang.String |
getPass()
|
java.lang.String |
getType()
|
java.lang.String |
getUser()
|
void |
setRespecify(boolean flag)
Set a flag so that User is forced to respecify the Server information This could be done when the connection could not be made so we want to let the user check if all the info was supplied correctly. |
java.lang.String |
toString()
|
boolean |
verifyLoginInfo()
verifyLoginInfo Check that all of the required Login information is avaiable If there is no information at all, then check the Properties file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FaceServer(java.lang.String mailServer)
Method Detail |
public static void createList()
public static FaceServer[] getList()
public static int getCount()
public FaceMailbox createMailbox()
Mailbox
public java.lang.String getType()
public java.lang.String getHost()
public java.lang.String getUser()
public java.lang.String getPass()
public java.lang.String getName()
public boolean getLoginInfo()
public void setRespecify(boolean flag)
public boolean verifyLoginInfo()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |