|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.text.LengthUnitSymbols
Localization resource for the symbols of length units.
| Field Summary | |
protected static java.util.HashMap |
cache
|
| Constructor Summary | |
protected |
LengthUnitSymbols(java.util.Locale locale)
Construct a LengthUnitSymbols object for the locale. |
| Method Summary | |
static LengthUnitSymbols |
getInstance()
Return the LengthUnitSymbols object for the default locale. |
static LengthUnitSymbols |
getInstance(java.util.Locale locale)
Return the LengthUnitSymbols object for the specified locale. |
java.lang.String |
getSymbol(LengthUnit lu)
Return the localized symbol cooresponding to the passed LengthUnit object. |
java.lang.String[] |
getSymbols(LengthUnit[] lu)
Return an array of localized symbols cooresponding to the passed LengthUnit objects. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.util.HashMap cache
| Constructor Detail |
protected LengthUnitSymbols(java.util.Locale locale)
LengthUnitSymbols object for the locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.| Method Detail |
public static LengthUnitSymbols getInstance()
LengthUnitSymbols object for the default locale.
LengthUnitSymbols object for the default locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.public static LengthUnitSymbols getInstance(java.util.Locale locale)
LengthUnitSymbols object for the specified locale.
locale - the desired locale.
LengthUnitSymbols object for the cooresponding locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.public java.lang.String[] getSymbols(LengthUnit[] lu)
LengthUnit objects.
lu - an array of LengthUnit onjects.
LengthUnit
object parameters.
java.util.MissingResourceException - - if the resources for the specified locale do not
contain a localized symbol for a LengthUnit.public java.lang.String getSymbol(LengthUnit lu)
LengthUnit object.
lu - the LengthUnit onjects.
LengthUnit
object parameter.
java.util.MissingResourceException - - if the resources for the specified locale do not
contain a localized symbol for the LengthUnit.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||