(String fileName)
| 8 | |
| 9 | // 从文件读取数据 |
| 10 | private static String readFileAsString(String fileName)throws Exception |
| 11 | { |
| 12 | return new String(Files.readAllBytes(Paths.get(fileName))); |
| 13 | } |
| 14 | public static void main(String[] args) throws Exception { |
| 15 | |
| 16 | // 从文件读取配置表 |