|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--freemarker.template.LocaleUtil
A holder for some locale-related routines.
Constructor Summary | |
LocaleUtil()
|
Method Summary | |
static java.lang.String |
getCharset(java.util.Locale loc)
Gets the preferred charset for the given locale, or the default platform encoding if the locale is not in the table. |
static char |
getDecimalSeparator(java.util.Locale loc)
|
static java.lang.String[] |
getFilenames(java.lang.String filename,
java.util.Locale locale)
Returns an array of potential filenames, given the base filename and the locale. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocaleUtil()
Method Detail |
public static java.lang.String getCharset(java.util.Locale loc)
loc
- the localepublic static java.lang.String[] getFilenames(java.lang.String filename, java.util.Locale locale)
public static char getDecimalSeparator(java.util.Locale loc)
loc
- the locale
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |