org.apertereports.common.utils
Class LocaleUtils
java.lang.Object
org.apertereports.common.utils.LocaleUtils
public final class LocaleUtils
- extends Object
Class defines useful locale methods
- Author:
- Tomasz Serafin, BlueSoft sp. z o. o.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createLocale
public static Locale createLocale(String localeString)
- Creates
Locale object according to provided locale
string
- Parameters:
localeString - Locale string, e.g. "en_GB", "de"
- Returns:
- Locale object or default one if locale string is incorrect
Copyright © 2011-2013. All Rights Reserved.