|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.exchange.DisplayNamePrefix
This class implements a display name prefix. A key is used to lookup the
readable string from exchange_resource.properties.
| Field Summary | |
static DisplayNamePrefix |
DR
This value represents the 'Dr.' prefix. |
static DisplayNamePrefix |
MISS
This value represents the 'Miss' prefix. |
static DisplayNamePrefix |
MR
This value represents the 'Mr.' prefix. |
static DisplayNamePrefix |
MRS
This value represents the 'Mrs.' prefix. |
static DisplayNamePrefix |
MS
This value represents the 'Ms.' prefix. |
static DisplayNamePrefix |
PROF
This value represents the 'Prof.' prefix. |
| Constructor Summary | |
protected |
DisplayNamePrefix(java.lang.String sPrefixKey)
Constructor. |
| Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static DisplayNamePrefix |
get(java.lang.String sPrefix)
Gets the prefix. |
static java.util.List |
getList()
Gets a list of prefixes. |
java.lang.String |
getPrefix()
Gets the prefix. |
java.lang.String |
getPrefix(java.util.Locale locale)
Gets the prefix using the specified locale. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final DisplayNamePrefix DR
public static final DisplayNamePrefix MISS
public static final DisplayNamePrefix MR
public static final DisplayNamePrefix MRS
public static final DisplayNamePrefix MS
public static final DisplayNamePrefix PROF
| Constructor Detail |
protected DisplayNamePrefix(java.lang.String sPrefixKey)
sPrefixKey - the key of the prefix (may not be null or empty)| Method Detail |
public java.lang.String getPrefix()
public java.lang.String getPrefix(java.util.Locale locale)
locale - the localepublic static DisplayNamePrefix get(java.lang.String sPrefix)
sPrefix - the prefixnull if not foundpublic static java.util.List getList()
DisplayNamePrefixes (unmodifiable)public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to checktrue if this object is the same as the argument; false otherwisepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.Locale locale)
locale - the locale
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||