jajva IO常用写法
// 指定编码读取文件路径创建缓冲输入流
BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(inputFilePath), "utf-8"));
BufferedReader in = new BufferedReader(new FileReader(inputFilePath));
BufferedWriter out = new BufferedWriter(new FileWriter(outputFilePath));
static final String LINE_SEPARATOR = System.getProperty("line.separator"); // /r/n 回车换行
String filePath = BuildBPXML.class.getResource("").getPath()+"test.properties"; // 文件路径//output ==> /D:/workspace_BS/corporbank/WebContent/WEB-INF/classes/test/test.properties