Class MockResourceBundle
- java.lang.Object
-
- java.util.ResourceBundle
-
- org.exoplatform.commons.testing.mock.MockResourceBundle
-
public class MockResourceBundle extends ResourceBundle
- Version:
- $Revision$
- Author:
- Patrice Lamarque
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.ResourceBundle
ResourceBundle.Control
-
-
Constructor Summary
Constructors Constructor Description MockResourceBundle(Map<String,Object> content)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Enumeration<String>getKeys()protected ObjecthandleGetObject(String key)voidput(String key, String value)-
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBaseBundleName, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
-
-
-
-
Method Detail
-
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObjectin classResourceBundle
-
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeysin classResourceBundle
-
-