读取用户家目录下的配置文件到properties

String conf = System.getProperty("user.home") + File.separator + "a.properties";
FileInputStream fis = new FileInputStream(conf);
prop.load(fis);
fis.close();