org.apertereports.common.utils
Class LocaleUtils

java.lang.Object
  extended by org.apertereports.common.utils.LocaleUtils

public final class LocaleUtils
extends Object

Class defines useful locale methods

Author:
Tomasz Serafin, BlueSoft sp. z o. o.

Method Summary
static Locale createLocale(String localeString)
          Creates Locale object according to provided locale string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.