![JAR search and dependency download from the Maven repository](/logo.png)
panda.io.resource.MapResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.io.resource;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
import java.util.Set;
/**
* resource bundle for map
*/
public class MapResource extends AbstractResource {
/**
* contents map
*/
protected final Map map;
/**
* Constructor
* @param props content map
* @param parent parent resource object
* @param locale locale
*/
public MapResource(Properties props, Resource parent, Locale locale) {
super(parent, locale);
if (props == null) {
throw new NullPointerException();
}
this.map = new HashMap();
for (Entry
© 2015 - 2025 Weber Informatics LLC | Privacy Policy