public static void main(String[] args) { try { String[] fileNames = { "F://浙江大学文本-1.txt", // "F://test.txt" }; for (int i = 0; i < fileNames.length; i++) { String sFileName = fileNames[i]; ChinesePaperTxtImport objs = null; try { objs = new ChinesePaperTxtImport(sFileName, ":"); DolphinObject obj = null; while ((obj = objs.next()) != null) ; } finally { objs.clear(); } } } catch (PureException ex) { ex.printStackTrace(); } }