从备份文件的属性获取字符串,备份获取字符串,private stat
分享于 点击 25059 次 点评:32
从备份文件的属性获取字符串,备份获取字符串,private stat
private static Properties properties;private static String getProp(String propKey) { if (properties == null) { properties = new Properties(); try { properties.load(new FileInputStream("myprops.config")); } catch (IOException e) { } } return properties.getProperty(propKey);}
用户点评