com.atlassian.jira.util
Class LocaleParser
java.lang.Object
com.atlassian.jira.util.LocaleParser
public class LocaleParser
- extends Object
Static utility to parse locale Strings into Locale objects.
This was previously provided by JiraLocaleUtils, but JiraLocaleUtils was deprecated.
- Since:
- v4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocaleParser
public LocaleParser()
parseLocale
public static Locale parseLocale(String localeString)
- Creates a locale from the given string. Similar to LocaleUtils, but this one is static
- Parameters:
localeString
- locale String
- Returns:
- new locale based on the parameter, or null if parameter not set
Copyright © 2002-2011 Atlassian. All Rights Reserved.