|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.migration.model22.other.LocaleInfo
Additional infos about a locale.
Field Summary | |
private static java.util.Collection |
all
The locale info objects. |
private static java.util.Map |
infos
The locale info map. |
private java.util.Locale |
locale
The relaled locale. |
private static org.apache.log4j.Logger |
log
|
private LocaleInfo |
parent
The parent locale info or null if no parent. |
private java.lang.String |
trailingName
The trailing name used to compute resource bundle name. |
Constructor Summary | |
private |
LocaleInfo(java.util.Locale locale)
|
Method Summary | |
static java.lang.String |
computeTrailingName(java.util.Locale locale)
Compute the trainling name for a given locale. |
static LocaleInfo |
decodeLocaleInfo(java.util.Locale locale)
|
static LocaleInfo |
decodeLocaleInfo(java.lang.String code)
|
static java.util.Collection |
getAll()
|
java.util.Locale |
getLocale()
|
LocaleInfo |
getParent()
|
java.lang.String |
getTrailingName()
|
private static java.util.Collection |
initializeAll()
|
private static java.util.Map |
initializeInfos()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static org.apache.log4j.Logger log
private static final java.util.Map infos
private static final java.util.Collection all
private LocaleInfo parent
private java.util.Locale locale
private java.lang.String trailingName
Constructor Detail |
private LocaleInfo(java.util.Locale locale)
Method Detail |
public LocaleInfo getParent()
public java.util.Locale getLocale()
public java.lang.String getTrailingName()
public java.lang.String toString()
public static java.lang.String computeTrailingName(java.util.Locale locale) throws java.lang.IllegalArgumentException
locale
- the locale
java.lang.IllegalArgumentException
- if locale is nullprivate static final java.util.Map initializeInfos()
private static java.util.Collection initializeAll()
public static java.util.Collection getAll()
public static LocaleInfo decodeLocaleInfo(java.lang.String code)
public static LocaleInfo decodeLocaleInfo(java.util.Locale locale)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |