|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tiles.request.locale.LocaleUtil
public final class LocaleUtil
Utilities for locale manipulation.
| Field Summary | |
|---|---|
static Locale |
NULL_LOCALE
Deprecated. use Locale.ROOT instead. |
| Method Summary | |
|---|---|
static Locale |
getParentLocale(Locale locale)
Returns the "parent" locale of a given locale. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Deprecated public static final Locale NULL_LOCALE
| Method Detail |
|---|
public static Locale getParentLocale(Locale locale)
Returns the "parent" locale of a given locale.
If the original locale is only language-based, the NULL_LOCALE
object is returned.
If the original locale is NULL_LOCALE, then null
is returned.
locale - The original locale.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||