com.levigo.jadice.document.util
Class ExtResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by com.levigo.jadice.document.util.ExtResourceBundle

public class ExtResourceBundle
extends ResourceBundle


Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
ExtResourceBundle(String bundleName, ResourceBundle parent)
           
 
Method Summary
 Enumeration<String> getKeys()
           
 String getString(String key, Object... args)
          Return a formatted string by using the key to look up a pattern string in the resource bundle and formatting it with the given arguments using MessageFormat.format(String, Object...).
protected  Object handleGetObject(String key)
           
 boolean hasResource(String key)
           
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtResourceBundle

public ExtResourceBundle(String bundleName,
                         ResourceBundle parent)
Method Detail

handleGetObject

protected Object handleGetObject(String key)
Specified by:
handleGetObject in class ResourceBundle

getKeys

public Enumeration<String> getKeys()
Specified by:
getKeys in class ResourceBundle

getString

public String getString(String key,
                        Object... args)
Return a formatted string by using the key to look up a pattern string in the resource bundle and formatting it with the given arguments using MessageFormat.format(String, Object...).

Parameters:
key - the resource key
args - the arguments
Returns:
a formatted string

hasResource

public boolean hasResource(String key)


Copyright © 1995-2020 levigo holding gmbh. All Rights Reserved.