|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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 locale
public static DisplayNamePrefix get(java.lang.String sPrefix)
sPrefix
- the prefix
null
if not foundpublic static java.util.List getList()
DisplayNamePrefix
es (unmodifiable)public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object is the same as the argument; false
otherwisepublic java.lang.String toString()
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |