|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cantina.util.Localizer
This class provides the reverse toString() operation for a Locale object.
Given a String obtained using locale.toString()
reconstructs
the locale object by splitting the string in two at the place of the underscore.
Field Summary | |
static org.apache.log4j.Logger |
logger
|
Constructor Summary | |
Localizer()
|
Method Summary | |
static java.util.Locale |
parseLocaleString(java.lang.String localeString)
Given a string representing a locale, will try to get the most relevant locale in the system's supported locales. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static org.apache.log4j.Logger logger
Constructor Detail |
public Localizer()
Method Detail |
public static java.util.Locale parseLocaleString(java.lang.String localeString)
localeString
- a string like 'en_US' or 'fr_FR'
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |