com.caucho.jsp
Class BundleManager

java.lang.Object
  extended by com.caucho.jsp.BundleManager

public class BundleManager
extends java.lang.Object

Manages i18n bundles


Field Summary
static LocalizationContext NULL_BUNDLE
           
 
Method Summary
static BundleManager create()
          Returns the environment's bundle.
 LocalizationContext getBundle(java.lang.String name)
          Returns the named ResourceBundle.
 LocalizationContext getBundle(java.lang.String name, java.util.Locale locale)
          Returns the named ResourceBundle.
 LocalizationContext getBundle(java.lang.String name, java.lang.String cacheKey, java.util.Enumeration<java.util.Locale> locales)
          Returns the named ResourceBundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_BUNDLE

public static final LocalizationContext NULL_BUNDLE
Method Detail

create

public static BundleManager create()
Returns the environment's bundle.


getBundle

public LocalizationContext getBundle(java.lang.String name,
                                     java.lang.String cacheKey,
                                     java.util.Enumeration<java.util.Locale> locales)
Returns the named ResourceBundle.


getBundle

public LocalizationContext getBundle(java.lang.String name,
                                     java.util.Locale locale)
Returns the named ResourceBundle.


getBundle

public LocalizationContext getBundle(java.lang.String name)
Returns the named ResourceBundle.