org.outerj.xreporter.util
Class LocaleHelper

java.lang.Object
  extended byorg.outerj.xreporter.util.LocaleHelper

public class LocaleHelper
extends java.lang.Object


Constructor Summary
LocaleHelper()
           
 
Method Summary
static java.util.Locale parseLocale(java.lang.String localeString)
          Parses a RFC 1766 locale string to a java Locale object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocaleHelper

public LocaleHelper()
Method Detail

parseLocale

public static java.util.Locale parseLocale(java.lang.String localeString)
Parses a RFC 1766 locale string to a java Locale object. This RFC defines locales as the combination of the 2 letter ISO language and country code, with a dash between the two, e.g. "nl-BE" or "nl-NL".