org.exoplatform.commons.testing.mock
Class MockResourceBundle
java.lang.Object
java.util.ResourceBundle
org.exoplatform.commons.testing.mock.MockResourceBundle
public class MockResourceBundle
- extends ResourceBundle
- Version:
- $Revision$
- Author:
- Patrice Lamarque
| 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 |
content
protected Map<String,Object> content
MockResourceBundle
public MockResourceBundle(Map<String,Object> content)
handleGetObject
protected Object handleGetObject(String key)
- Specified by:
handleGetObject in class ResourceBundle
getKeys
public Enumeration<String> getKeys()
- Specified by:
getKeys in class ResourceBundle
put
public void put(String key,
String value)
Copyright © 2013 eXo Platform SAS. All Rights Reserved.