|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsears.tools.SearsResourceBundle
public class SearsResourceBundle
Class SearsResourceBundle.
Summary:
This class permits to access to the string resources in the choosen locale.
Constructor Summary | |
---|---|
SearsResourceBundle()
Constructor SearsResourceBundle. |
|
SearsResourceBundle(java.util.Locale locale)
Constructor SearsResourceBundle. |
Method Summary | |
---|---|
static java.util.Locale |
getLocale()
Method getLocale. |
static java.lang.String |
getResource(java.lang.String key)
Method getResource. |
static java.lang.String |
getResource(java.lang.String key,
java.lang.String defaultValue)
Method getResource. |
static void |
setLocale(java.util.Locale locale)
Method setLocale. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearsResourceBundle()
public SearsResourceBundle(java.util.Locale locale)
Method Detail |
---|
public static void setLocale(java.util.Locale locale)
locale
- The new locale to set.public static java.lang.String getResource(java.lang.String key)
key
- The key of the value to found.
public static java.lang.String getResource(java.lang.String key, java.lang.String defaultValue)
key
- The key of the value to found.defaultValue
- The default value to return, if key is not found.
public static java.util.Locale getLocale()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |