com.jaccal.console
Class I18N

java.lang.Object
  extended bycom.jaccal.console.I18N

public class I18N
extends Object

A convenience class to provide the locale specific data

Author:
Chang Sau Sheong

Field Summary
private static ResourceBundle bundle
           
private static Locale locale
           
 
Constructor Summary
I18N()
           
 
Method Summary
static String getString(String key)
           
static void setLocale(String language)
           
static void setLocale(String language, String country)
           
static void setLocale(String language, String country, String variant)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locale

private static Locale locale

bundle

private static ResourceBundle bundle
Constructor Detail

I18N

public I18N()
Method Detail

setLocale

public static void setLocale(String language,
                             String country,
                             String variant)

setLocale

public static void setLocale(String language,
                             String country)

setLocale

public static void setLocale(String language)

getString

public static String getString(String key)


Copyright © 2005 Chang Sau Sheong, Thomas Tarpin-Lyonnet. All Rights Reserved.