org.jogre.common
Class JogreGlobals

java.lang.Object
  extended byorg.jogre.common.JogreGlobals

public class JogreGlobals
extends Object

Class for setting global variables such as the current locale etc.

Version:
Alpha 0.2.3
Author:
Bob Marks

Field Summary
static String ENGLISH
           
static String FRENCH
           
static String SUPPORTED_LANGS
           
 
Constructor Summary
JogreGlobals()
           
 
Method Summary
static Locale getLocale()
          Return the locale.
static void setLocale(String localeStr)
          Set the locale using a language or a language and country.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRENCH

public static final String FRENCH
See Also:
Constant Field Values

ENGLISH

public static final String ENGLISH
See Also:
Constant Field Values

SUPPORTED_LANGS

public static final String SUPPORTED_LANGS
See Also:
Constant Field Values
Constructor Detail

JogreGlobals

public JogreGlobals()
Method Detail

getLocale

public static Locale getLocale()
Return the locale.

Returns:

setLocale

public static void setLocale(String localeStr)
Set the locale using a language or a language and country.