|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface defining the contract for interaction with the JwmaPreferences model.
JwmaPreferences allows a view programmer to obtain information about the users preferences to display them for reading or editing.
Method Summary | |
java.text.DateFormat |
getDateFormat()
Returns a DateFormat representing the user's preferred date format. |
java.lang.String |
getDraftFolder()
Returns a String representing the full name of the draft folder. |
java.lang.String |
getFirstname()
Returns a String representing the firstname of the owner of this JwmaPreferences. |
java.lang.String |
getLanguage()
Returns a String representing the language. |
java.lang.String |
getLastLogin()
Returns a String representing the user's last login date and originating host. |
java.lang.String |
getLastname()
Returns a String representing the lastname of the owner of this JwmaPreferences. |
java.util.Locale |
getLocale()
Returns the Locale associated with this JwmaPreferences. |
JwmaMailIdentity |
getMailIdentity()
Returns the user's default JwmaMailIdentity. |
JwmaMailIdentity |
getMailIdentity(java.lang.String uid)
Returns the JwmaMailIdentity with the given unique identifier. |
net.wimpi.text.Processor |
getMessageProcessor()
Returns a Processor representing the users preferred message processor for processing text/plain messages. |
java.lang.String |
getMessageProcessorName()
Convenience method that returns a String representing the users preferred message processor name. |
int |
getMessageSortCriteria()
Returns the sort criteria preference for messages. |
java.lang.String |
getQuoteChar()
Returns a String representing the quote character. |
java.lang.String |
getReadMailArchive()
Returns a String representing the path of the read-mail-archive. |
java.lang.String |
getRootFolder()
Returns a String representing the path of the mail root folder. |
java.lang.String |
getSentMailArchive()
Returns a String representing the path of the sent-mail-archive. |
java.lang.String |
getStyle()
Returns a String representing the users preferred style. |
java.lang.String |
getTrashFolder()
Returns a String representing the path of the read-mail-archive. |
java.lang.String |
getUserIdentity()
Returns a String representing identity of the owner of this JwmaPreferences. |
boolean |
isAutoArchiveSent()
Tests if messages should be automatically archived when sent. |
boolean |
isAutoEmpty()
Tests if the trash should be emptied automatically when logging out. |
boolean |
isAutoMoveRead()
Tests if messages should be automatically moved when read. |
boolean |
isAutoQuote()
Tests if messages should be quoted automatically when replying. |
boolean |
isDisplayingInlined()
Tests if known mime message content should be inlined when displaying the message. |
boolean |
isExpert()
Tests if the user considers to be an xpert. |
JwmaMailIdentity[] |
listMailIdentities()
Returns a JwmaMailIdentities[] that contains all JwmaMailIdentity instances of this JwmaPreferences. |
void |
setMessageSortCriteria(int crit)
Sets the sort criteria preference for messages. |
Method Detail |
public java.lang.String getUserIdentity()
Note:
The format of the string has to be
<username>@<postofficehost>.
public java.lang.String getFirstname()
public java.lang.String getLastname()
public java.lang.String getLastLogin()
public java.lang.String getQuoteChar()
public boolean isAutoQuote()
public java.lang.String getRootFolder()
Note: This setting varies for different IMAP implementations.
public java.lang.String getDraftFolder()
public boolean isAutoArchiveSent()
public java.lang.String getSentMailArchive()
public boolean isAutoMoveRead()
public java.lang.String getReadMailArchive()
public boolean isAutoEmpty()
public java.lang.String getTrashFolder()
public java.lang.String getLanguage()
Note that this method is a shortcut for
getLocale().getLanguage().
public java.util.Locale getLocale()
public net.wimpi.text.Processor getMessageProcessor()
public java.lang.String getMessageProcessorName()
public java.text.DateFormat getDateFormat()
public JwmaMailIdentity getMailIdentity()
public JwmaMailIdentity getMailIdentity(java.lang.String uid)
uid
- a unique identifier of a mail identity.
public JwmaMailIdentity[] listMailIdentities()
public boolean isExpert()
public java.lang.String getStyle()
public boolean isDisplayingInlined()
public int getMessageSortCriteria()
public void setMessageSortCriteria(int crit)
crit
- the sort criteria as int.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |