com.infoengine.util
Class RbInfoResourceBundle
java.lang.Object
java.util.ResourceBundle
com.infoengine.util.RbInfoResourceBundle
- public class RbInfoResourceBundle
- extends ResourceBundle
represent a raw .rbInfo file as a java resource bundle
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bundle
private Hashtable bundle
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.
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