org.apache.jetspeed.util
Class JetspeedLocale

java.lang.Object
  extended byorg.apache.jetspeed.util.JetspeedLocale

public class JetspeedLocale
extends Object

Class to set and get Locale settings for Jetspeed.

Version:
$Id: JetspeedLocale.java 209904 2005-07-08 22:59:55Z shinsuke $
Author:
Roger Ruttimann, Shinsuke Sugaya

Field Summary
private static String DELIM
           
 
Constructor Summary
JetspeedLocale()
           
 
Method Summary
static String convertLocaleToString(Locale locale)
          Converts Locale to String.
static Locale convertStringToLocale(String localeString)
          Converts String to Locale.
static Locale getDefaultLocale()
          According to PLT.21.8.1, the default locale should be English.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIM

private static final String DELIM
See Also:
Constant Field Values
Constructor Detail

JetspeedLocale

public JetspeedLocale()
Method Detail

getDefaultLocale

public static Locale getDefaultLocale()
According to PLT.21.8.1, the default locale should be English.


convertLocaleToString

public static String convertLocaleToString(Locale locale)
Converts Locale to String.

Parameters:
locale -
Returns:

convertStringToLocale

public static Locale convertStringToLocale(String localeString)
Converts String to Locale.

Parameters:
localeString -
Returns:


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.