摘要:
//根据不同的系统平台得到换行符 private static final String separator = System.getProperty("line.separator"); 阅读全文
摘要:
//每次读取的字节长度,一般都是1024的倍数 private static final int BUF_SIZE = 1024; public static void main(String[] args) { // TODO Auto-generated method stub FileRead 阅读全文
摘要:
public static void main(String[] args) { // TODO Auto-generated method stub FileReader fr = null; FileWriter fw = null; try { fr = new FileReader("dem 阅读全文