All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.network.mail.pop3.UserOptions
java.lang.Object
|
+----com.ibm.network.mail.pop3.UserOptions
- public abstract class UserOptions
- extends Object
- implements Serializable
The class encompasses all the details of
POP3 user. The user details include POP login
Id, login password and details such as :
- whether password is to remembered.
- whether messages are to be left on server after they are received.
- whether all headers of a message are to displayed in the GUI of the
UserInterfaceBean
- Author:
- Mohit M Sant
- See Also:
- TransientUserOptions, PersistantUserOptions
-
DELETE_AFTER_EVERY_MAIL
-
-
DELETE_AT_END
-
-
DELETE_NEVER
-
-
UserOptions(String, int, boolean)
- Constructor for
UserOption
.
-
getDeleteOption()
- Returns 'true' if messages are being left on server after receiving.
-
getPopLoginId()
- Returns login id of user.
-
getUserPassword()
- Returns login password of user
-
isDisplayAllHeaders()
- Returns whether all headers of the message will be displayed.
DELETE_AT_END
public static final int DELETE_AT_END
DELETE_AFTER_EVERY_MAIL
public static final int DELETE_AFTER_EVERY_MAIL
DELETE_NEVER
public static final int DELETE_NEVER
UserOptions
public UserOptions(String loginId,
int delOpt,
boolean displayAllHeaders)
- Constructor for
UserOption
.
- Parameters:
- loginId - login ID of POP3 user.
- delOpt - UserOptions.DELETE_NEVER if messages are to be left on server or
UserOptions.DELETE_AT_END if messages are to deleted from the server.
- displayAllHeaders - if all headers of a message are to be displayed.
getDeleteOption
public int getDeleteOption()
- Returns 'true' if messages are being left on server after receiving.
- Returns:
- UserOptions.DELETE_NEVER if messages are to be left on server or
UserOptions.DELETE_AT_END if messages are to deleted from the server.
getPopLoginId
public String getPopLoginId()
- Returns login id of user.
- Returns:
- login id of user.
getUserPassword
public abstract String getUserPassword()
- Returns login password of user
- Returns:
- password of user
isDisplayAllHeaders
public boolean isDisplayAllHeaders()
- Returns whether all headers of the message will be displayed.
- Returns:
- true if all headers of the message will be displayed.
All Packages Class Hierarchy This Package Previous Next Index