|
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.webdav.DisplayNamePrefix
DisplayNamePrefix
This class implements a prefix. To create a custom prefix,
use the create(String)
method. A prefix key is used to lookup the
readable string from exchange_resource.properties
.
Field Summary | |
static DisplayNamePrefix |
DR
Deprecated. This value represents the 'Dr.' prefix. |
static DisplayNamePrefix |
MISS
Deprecated. This value represents the 'Miss' prefix. |
static DisplayNamePrefix |
MR
Deprecated. This value represents the 'Mr.' prefix. |
static DisplayNamePrefix |
MRS
Deprecated. This value represents the 'Mrs.' prefix. |
static DisplayNamePrefix |
MS
Deprecated. This value represents the 'Ms.' prefix. |
static DisplayNamePrefix |
PROF
Deprecated. This value represents the 'Prof.' prefix. |
Constructor Summary | |
protected |
DisplayNamePrefix(java.lang.String sPrefixKey)
Deprecated. Constructor. |
Method Summary | |
static DisplayNamePrefix |
create(java.lang.String sPrefix)
Deprecated. Creates a new prefix. |
boolean |
equals(java.lang.Object o)
Deprecated. Checks for equality. |
static DisplayNamePrefix |
get(java.lang.String sPrefix)
Deprecated. Gets the prefix. |
java.lang.String |
getPrefix()
Deprecated. Gets the prefix. |
java.lang.String |
getPrefix(java.util.Locale locale)
Deprecated. Gets the prefix using the specified locale. |
static java.util.List |
getPrefixes()
Deprecated. Gets an unmodifiable list of prefixes. |
java.lang.String |
toString()
Deprecated. Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Deprecated. 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 getPrefixes()
public static DisplayNamePrefix create(java.lang.String sPrefix)
sPrefix
- the prefixpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check for equalitytrue
if this object is the same as the obj argument; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public 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 |