org.hyphenType.util.resourcebundles
Class ConfigurableListResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by java.util.ListResourceBundle
          extended by org.hyphenType.util.resourcebundles.ConfigurableListResourceBundle

public class ConfigurableListResourceBundle
extends ListResourceBundle

A simple list resource bundle whose content can be manipulated externally. This class is useful when testing a class that reads from a resource bundle.

Author:
Aurelio Akira M. Matsui

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
ConfigurableListResourceBundle(Map<?,?> contentsMap)
           
ConfigurableListResourceBundle(Object[][] contents)
           
 
Method Summary
protected  Object[][] getContents()
           
 
Methods inherited from class java.util.ListResourceBundle
getKeys, handleGetObject, handleKeySet
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableListResourceBundle

public ConfigurableListResourceBundle(Object[][] contents)

ConfigurableListResourceBundle

public ConfigurableListResourceBundle(Map<?,?> contentsMap)
Method Detail

getContents

protected Object[][] getContents()
Specified by:
getContents in class ListResourceBundle


Copyright © 2013. All Rights Reserved.