public class PropertiesUtil {
private static HashMap configMap;
private static Logger logger = LoggerFactory.getLogger(PropertiesUtil.class);
public static void init(String path) {
configMap = new HashMap();
Properties p = new Properties();
try {
p.load(new FileInputStream(new File(getClassPath()
+ path)));
} catch (IOException e) {
logger.error("init properties file excetion", e);
}
Set