String path = ""; //属性文件的路径
try {
Properties prop = new Properties();
InputStream is = new BufferedInputStream(new FileInputStream(path));
prop.load(is);
} catch (Exception e) {
e.printStackTrace();
}
String path = ""; //属性文件的路径
try {
Properties prop = new Properties();
InputStream is = new BufferedInputStream(new FileInputStream(path));
prop.load(is);
} catch (Exception e) {
e.printStackTrace();
}