public static String readFileData(String filePath,String key){
String fileData = "";
Properties p = new Properties();
FileInputStream fs = null;
try {
fs = new FileInputStream(filePath);
try {
p.load(fs);
fileData = p.getProperty(key);
} catch (IOException e) {
e.printStackTrace();
}
} catch (FileNotFoundException e) {
e.printStackTrace(); }
return fileData;
}
1181

被折叠的 条评论
为什么被折叠?



