com.infoengine.util
Class RbInfoResourceBundle

java.lang.Object
  extended byjava.util.ResourceBundle
      extended bycom.infoengine.util.RbInfoResourceBundle

public class RbInfoResourceBundle
extends ResourceBundle

represent a raw .rbInfo file as a java resource bundle


Nested Class Summary
 
Nested classes inherited from class java.util.ResourceBundle
 
Field Summary
private  Hashtable bundle
           
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
RbInfoResourceBundle(String uri)
          creates a new instance of an RbInfoResourceBundle
 
Method Summary
 Enumeration getKeys()
          return the keys used by this resource bundle
 String getLocalizedMessage(String key, Object[] inserts)
          return a localized string message following substitution of inserts into messages like "some text {0} = {1}"
protected  Object handleGetObject(String key)
          retrieve an individual message from the resource bundle
 
Methods inherited from class java.util.ResourceBundle
getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bundle

private Hashtable bundle
Constructor Detail

RbInfoResourceBundle

public RbInfoResourceBundle(String uri)
                     throws IEException
creates a new instance of an RbInfoResourceBundle

Parameters:
uri - - path to the resource bundle. This can be either a file path relative to the task root directory, a general url (http) or an ldap url.
Throws:
IEException - if an error occurs retrieving the resource bundle.
Method Detail

getKeys

public Enumeration getKeys()
return the keys used by this resource bundle


handleGetObject

protected Object handleGetObject(String key)
retrieve an individual message from the resource bundle


getLocalizedMessage

public String getLocalizedMessage(String key,
                                  Object[] inserts)
return a localized string message following substitution of inserts into messages like "some text {0} = {1}"

Parameters:
key - - key into resource bundle;
inserts - - inserts used to perform substitution