de.init.loext.its.transport.tags
Class Locales

java.lang.Object
  extended by de.init.loext.its.transport.tags.Locales

public class Locales
extends java.lang.Object

A handcoded List of locales

Author:
t.meinert

Field Summary
static java.lang.String[] locales
           
 
Constructor Summary
Locales()
           
 
Method Summary
static java.lang.String getHumanReadableLocale(int i)
           
static java.lang.String getNormalizedLocale(int i)
          returns a normalized representation of the locale string, that is [language]-[COUNTRY] or a single wildcard selector
static java.lang.String[] getNormalizedLocales()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locales

public static java.lang.String[] locales
Constructor Detail

Locales

public Locales()
Method Detail

getNormalizedLocale

public static java.lang.String getNormalizedLocale(int i)
returns a normalized representation of the locale string, that is [language]-[COUNTRY] or a single wildcard selector

Parameters:
i - the index of locale
Returns:
the normalized locale

getHumanReadableLocale

public static java.lang.String getHumanReadableLocale(int i)

getNormalizedLocales

public static java.lang.String[] getNormalizedLocales()