com.sapportals.wcm.util.resource

Class ResourceBundles

java.lang.Object
  extended bycom.sapportals.wcm.util.resource.ResourceBundles

public class ResourceBundles
extends Object

A helper class to load resource bundles.


Method Summary
 boolean exists(String key)
           
 boolean exists(String key, Locale locale)
           
static ResourceBundles getBundle(String baseName)
           
 String getString(String key)
           
 String getString(String key, Locale locale)
           
 String getString(String key, Locale locale, Object obj)
           
 String getString(String key, Locale locale, Object[] objs)
           
 String getString(String key, Locale locale, Object obj1, Object obj2)
           
 String getString(String key, Object obj)
           
 String getString(String key, Object[] objs)
           
 String getString(String key, Object obj1, Object obj2)
           
static void invalidate()
          Invalidates the cached resource bundles
static void registerClassLoader(ClassLoader cl)
          Deprectated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

invalidate

public static void invalidate()
Invalidates the cached resource bundles


getString

public String getString(String key,
                        Locale locale,
                        Object[] objs)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Object[] objs)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Object obj)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Object obj1,
                        Object obj2)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Locale locale)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Locale locale,
                        Object obj)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key,
                        Locale locale,
                        Object obj1,
                        Object obj2)
                 throws MissingResourceException
Throws:
MissingResourceException

getString

public String getString(String key)
                 throws MissingResourceException
Throws:
MissingResourceException

exists

public boolean exists(String key,
                      Locale locale)

exists

public boolean exists(String key)

registerClassLoader

public static void registerClassLoader(ClassLoader cl)
Deprectated. This method has no effect.

Parameters:
cl -

getBundle

public static ResourceBundles getBundle(String baseName)


Copyright 2006 SAP AG Complete Copyright Notice