标签:class div span col app exce etc inpu ret
@Deprecated public static Map<String, String> readProperties(String propertiesFile) { Properties prop = new Properties(); try { prop.load(new InputStreamReader( App.class.getClassLoader().getResourceAsStream(propertiesFile + ".properties"), UTF8)); } catch (Exception ex) { throw SystemException.wrap(ex); } Map<String, String> map = new HashMap<>(); for (String key : prop.stringPropertyNames()) { map.put(key, isNull(prop.getProperty(key), "")); } return map; }
标签:class div span col app exce etc inpu ret
原文地址:http://www.cnblogs.com/Googler/p/7611761.html