org.jhotdraw.util
Class LocaleUtil

java.lang.Object
  extended by org.jhotdraw.util.LocaleUtil

public class LocaleUtil
extends java.lang.Object

LocaleUtil provides a setDefault()/getDefault() wrapper to java.util.Locale in order to overcome the security restriction preventing Applets from using their own locale.

Version:
$Id: LocaleUtil.java 527 2009-06-07 14:28:19Z rawcoder $
Author:
Werner Randelshofer

Field Summary
private static java.util.Locale defaultLocale
           
 
Constructor Summary
LocaleUtil()
          Creates a new instance.
 
Method Summary
static java.util.Locale getDefault()
           
static void setDefault(java.util.Locale newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultLocale

private static java.util.Locale defaultLocale
Constructor Detail

LocaleUtil

public LocaleUtil()
Creates a new instance.

Method Detail

setDefault

public static void setDefault(java.util.Locale newValue)

getDefault

public static java.util.Locale getDefault()