2013年5月29日
摘要: import java.io.*;public class AppendContent{ public static void main(String[] args) { try(RandomAccessFile raf = new RandomAccessFile("out2.txt", "rw")) { raf.seek(raf.length()); raf.write("追加的内容! \r\n".getBytes()); } catch (IOException ex) ... 阅读全文
posted @ 2013-05-29 18:38 bailun 阅读(196) 评论(0) 推荐(0) 编辑