org.apache.jetspeed.services.customlocalization
Class CustomLocalization

java.lang.Object
  extended byorg.apache.jetspeed.services.customlocalization.CustomLocalization

public abstract class CustomLocalization
extends java.lang.Object

Custom Localization allows for the localization properties to changed dynamically, without shutting down the application server.

Version:
$Id: CustomLocalization.java,v 1.5 2005/03/21 18:21:43 sgala Exp $
Author:
Dessė Massimiliano

Constructor Summary
CustomLocalization()
           
 
Method Summary
static java.util.ResourceBundle getBundle(org.apache.turbine.util.RunData data)
           
static java.lang.String getDefaultBundleName()
           
static java.util.Locale getLocale(org.apache.turbine.util.RunData data)
           
protected static CustomLocalizationService getService()
           
static java.lang.String getString(java.lang.String bundleName, java.util.Locale locale, java.lang.String key)
           
static java.lang.String getString(java.lang.String key, org.apache.turbine.util.RunData data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomLocalization

public CustomLocalization()
Method Detail

getString

public static java.lang.String getString(java.lang.String bundleName,
                                         java.util.Locale locale,
                                         java.lang.String key)

getString

public static java.lang.String getString(java.lang.String key,
                                         org.apache.turbine.util.RunData data)

getBundle

public static java.util.ResourceBundle getBundle(org.apache.turbine.util.RunData data)

getLocale

public static java.util.Locale getLocale(org.apache.turbine.util.RunData data)

getDefaultBundleName

public static java.lang.String getDefaultBundleName()

getService

protected static final CustomLocalizationService getService()


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