com.uwyn.rife.tools
Class Localization

java.lang.Object
  extended by com.uwyn.rife.tools.Localization

public class Localization
extends Object


Field Summary
static Pattern URL_PATTERN
           
 
Constructor Summary
Localization()
           
 
Method Summary
static String extractLocalizedUrl(String url)
           
static char getChar(String key)
           
static char getChar(String key, String language)
           
static char getChar(String key, String language, String country)
           
static char getChar(String basename, String key, String language, String country)
           
static Locale getLocale()
           
static Locale getLocale(String language)
           
static Locale getLocale(String language, String country)
           
static ResourceBundle getResourceBundle(String basename)
           
static ResourceBundle getResourceBundle(String basename, Locale locale)
           
static ResourceBundle getResourceBundle(String basename, String language)
           
static ResourceBundle getResourceBundle(String basename, String language, String country)
           
static String getString(String key)
           
static String getString(String key, Object[] parameters)
           
static String getString(String key, Object[] parameters, String language)
           
static String getString(String key, Object[] parameters, String language, String country)
           
static String getString(String key, String language)
           
static String getString(String basename, String key, Object[] parameters, String language, String country)
           
static String getString(String key, String language, String country)
           
static String getString(String basename, String key, String language, String country)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URL_PATTERN

public static final Pattern URL_PATTERN
Constructor Detail

Localization

public Localization()
Method Detail

extractLocalizedUrl

public static String extractLocalizedUrl(String url)

getChar

public static char getChar(String key)

getChar

public static char getChar(String key,
                           String language)

getChar

public static char getChar(String key,
                           String language,
                           String country)

getChar

public static char getChar(String basename,
                           String key,
                           String language,
                           String country)

getString

public static String getString(String key)

getString

public static String getString(String key,
                               Object[] parameters)

getString

public static String getString(String key,
                               String language)

getString

public static String getString(String key,
                               Object[] parameters,
                               String language)

getString

public static String getString(String key,
                               String language,
                               String country)

getString

public static String getString(String key,
                               Object[] parameters,
                               String language,
                               String country)

getString

public static String getString(String basename,
                               String key,
                               String language,
                               String country)

getString

public static String getString(String basename,
                               String key,
                               Object[] parameters,
                               String language,
                               String country)

getLocale

public static Locale getLocale()

getLocale

public static Locale getLocale(String language)

getLocale

public static Locale getLocale(String language,
                               String country)

getResourceBundle

public static ResourceBundle getResourceBundle(String basename)

getResourceBundle

public static ResourceBundle getResourceBundle(String basename,
                                               String language)

getResourceBundle

public static ResourceBundle getResourceBundle(String basename,
                                               String language,
                                               String country)

getResourceBundle

public static ResourceBundle getResourceBundle(String basename,
                                               Locale locale)


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.