com.frameworkset.platform.config.ConfigBundle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdp-system Show documentation
Show all versions of pdp-system Show documentation
bboss public development platform base on bboss.
package com.frameworkset.platform.config;
import java.util.HashMap;
import java.util.ResourceBundle;
public class ConfigBundle implements java.io.Serializable
{
private static HashMap bundles = new HashMap();
public static ResourceBundle getResourceBundle(String bundleName)
{
ResourceBundle rb = (ResourceBundle)bundles.get(bundleName);
if(rb == null)
{
rb = ResourceBundle.getBundle(bundleName);
bundles.put(bundleName,rb);
}
return rb;
}
}