mondrian.util
Class LcidLocale

java.lang.Object
  extended by mondrian.util.LcidLocale

Deprecated. Soon to be moved to Olap4jUtil.

public class LcidLocale
extends Object

Mapping between Locale and Locale identifier (LCID).

Version:
$Id: //open/mondrian/src/main/mondrian/util/LcidLocale.java#1 $
Author:
jhyde

Field Summary
(package private)  Map<Short,String> lcidLocaleMap
          Deprecated.  
 
Method Summary
static LcidLocale instance()
          Deprecated. Returns the singleton instance, creating if necessary.
 Locale toLocale(short lcid)
          Deprecated. Converts a locale id to a locale.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lcidLocaleMap

final Map<Short,String> lcidLocaleMap
Deprecated. 
Method Detail

instance

public static LcidLocale instance()
Deprecated. 
Returns the singleton instance, creating if necessary.


toLocale

public Locale toLocale(short lcid)
Deprecated. 
Converts a locale id to a locale.

Parameters:
lcid - LCID
Returns:
Locale, never null
Throws:
RuntimeException - if LCID is not valid

Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads