|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.text.MultPrefixes
Localization resource accessor for the prefixes of Mults.
| Field Summary | |
protected static java.util.HashMap |
cache
|
protected java.util.ResourceBundle |
resources
|
| Constructor Summary | |
protected |
MultPrefixes(java.util.Locale locale)
Construct a MultPrefixes object for the locale. |
| Method Summary | |
static MultPrefixes |
getInstance()
Return the MultPrefixes object for the default locale. |
static MultPrefixes |
getInstance(java.util.Locale locale)
Return the MultPrefixes object for the specified locale. |
java.lang.String |
getPrefix(Mult mult)
Return the localized prefix cooresponding to the passed Mult object. |
java.lang.String[] |
getPrefixes(Mult[] mult)
Return an array of localized prefixes cooresponding to the passed Mult 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
protected java.util.ResourceBundle resources
| Constructor Detail |
protected MultPrefixes(java.util.Locale locale)
MultPrefixes object for the locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.| Method Detail |
public static MultPrefixes getInstance()
MultPrefixes object for the default locale.
MultPrefixes object for the default locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.public static MultPrefixes getInstance(java.util.Locale locale)
MultPrefixes object for the specified locale.
locale - the desired locale.
MultPrefixes object for the cooresponding locale.
MissingResourceException - - if the resources for the specified
locale cannot be found or cannot be loaded.public java.lang.String[] getPrefixes(Mult[] mult)
Mult objects.
mult - an array of Mult objects.
Mult
object parameters.
java.util.MissingResourceException - - if the resources for the specified locale do not
contain a localized name for a Mult.public java.lang.String getPrefix(Mult mult)
Mult object.
mult - the Mult object.
Mult
object parameter.
java.util.MissingResourceException - - if the resources for the specified locale do not
contain a localized name for the Mult.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||