All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.frameworkset.platform.config.ConfigBundle Maven / Gradle / Ivy

There is a newer version: 5.6.4
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy