|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.isti.util.IstiLocale
Class IstiLocale extends a Locale to add additional functionality.
| Nested Class Summary |
| Nested classes inherited from class com.isti.util.Archivable |
Archivable.Marker |
| Field Summary | |
static java.lang.String |
DEFAULT_DISPLAY_NAME
The display name for the system default locale. |
| Constructor Summary | |
IstiLocale(IstiLocale istiLocaleObj)
Allocates a new IstiLocale object. |
|
IstiLocale(java.util.Locale localeObj)
Allocates a new IstiLocale object. |
|
IstiLocale(java.lang.String displayName)
Allocates a new IstiLocale object. |
|
IstiLocale(java.lang.String dataStr,
Archivable.Marker mkrObj)
Allocates a new IstiLocale object. |
|
| Method Summary | |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(IstiLocale obj)
Indicates whether some other object is "equal to" this one. |
boolean |
equals(java.util.Locale obj)
Indicates whether some other object is "equal to" this one. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.util.Date |
getArchiveDate()
Returns a 'Date' object representing the date to be used for archival purposes. |
static java.util.Locale[] |
getAvailableNumberLocales()
The set of Locales for which number formats are installed. |
static CfgPropValidator |
getCfgPropValidator()
Gets the configuration property validator. |
java.lang.String |
getDisplayName()
Gets the display name. |
static java.lang.String |
getDisplayName(java.util.Locale localeObj)
Gets the display name for the specified locale. |
static java.lang.String |
getDisplayName(java.util.Locale localeObj,
java.lang.String defaultDisplayName)
Gets the display name for the specified locale. |
java.util.Locale |
getLocale()
Gets the 'Locale' object. |
static java.util.Locale |
getLocaleFromDataString(java.lang.String dataStr)
Gets the locale for the specified data string. |
static java.util.Locale |
getLocaleFromDisplayName(java.lang.String displayName)
Gets the locale for the specified display name. |
int |
hashCode()
Returns a hash code value for the object. |
void |
setArchiveDate(java.util.Date dateObj)
Sets the 'Date' object representing the date to be used for archival purposes. |
java.lang.String |
toArchivedForm()
Returns the archivable representation for this object. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static java.lang.String DEFAULT_DISPLAY_NAME
| Constructor Detail |
public IstiLocale(IstiLocale istiLocaleObj)
IstiLocale object.
istiLocaleObj - IstiLocale object.public IstiLocale(java.util.Locale localeObj)
IstiLocale object.
localeObj - Locale object.
public IstiLocale(java.lang.String dataStr,
Archivable.Marker mkrObj)
IstiLocale object.
dataStr - the data string.mkrObj - the marker object.public IstiLocale(java.lang.String displayName)
IstiLocale object.
displayName - the locale display name.| Method Detail |
public java.lang.Object clone()
public boolean equals(IstiLocale obj)
obj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public boolean equals(java.util.Locale obj)
obj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public boolean equals(java.lang.Object obj)
obj - the reference object with which to compare.
true if this object is the same as the obj
argument; false otherwise.public java.util.Date getArchiveDate()
getArchiveDate in interface Archivablepublic static java.util.Locale[] getAvailableNumberLocales()
public java.lang.String getDisplayName()
public static java.lang.String getDisplayName(java.util.Locale localeObj)
localeObj - the locale object.
public static java.lang.String getDisplayName(java.util.Locale localeObj,
java.lang.String defaultDisplayName)
localeObj - the locale object.defaultDisplayName - the default display name.
public java.util.Locale getLocale()
public static java.util.Locale getLocaleFromDataString(java.lang.String dataStr)
dataStr - the data string.
public static java.util.Locale getLocaleFromDisplayName(java.lang.String displayName)
displayName - the locale display name.
public static CfgPropValidator getCfgPropValidator()
public int hashCode()
java.util.Hashtable.
public void setArchiveDate(java.util.Date dateObj)
dateObj - the archive date.public java.lang.String toArchivedForm()
toArchivedForm in interface Archivablepublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||