org.apache.commons.resources.impl
Class CollResources
java.lang.Object
org.apache.commons.resources.impl.ResourcesBase
org.apache.commons.resources.impl.CollectionResourcesBase
org.apache.commons.resources.impl.CollResources
- All Implemented Interfaces:
- Serializable, org.apache.commons.resources.Resources
public class CollResources
- extends org.apache.commons.resources.impl.CollectionResourcesBase
Concrete implementation of Resources
for unit tests.
IMPLEMENTATION NOTE - The set of hard-coded resource
maps returned by getLocaleMap()
below must *exactly*
match the resources stored in the TestResources*.properties
and TestResources*.xml
resource files.
- See Also:
- Serialized Form
Methods inherited from class org.apache.commons.resources.impl.CollectionResourcesBase |
destroy, getDefaultLocale, getKeys, getLocaleList, getLocaleMap, getLocaleSuffix, getObject, setDefaultLocale |
Methods inherited from class org.apache.commons.resources.impl.ResourcesBase |
getBufferSize, getBytes, getInputStream, getName, getReader, getString, init, isReturnNull, setBufferSize, setReturnNull |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CollResources
public CollResources(String name,
String base)
getLocaleMap
protected Map getLocaleMap(String baseUrl,
Locale locale)
- Specified by:
getLocaleMap
in class org.apache.commons.resources.impl.CollectionResourcesBase
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.