摘要: package io.nio;import java.io.FileInputStream;import java.io.RandomAccessFile;import java.nio.ByteBuffer;import java.nio.channels.FileChannel;public class NIOFileHandler { public static void writeStrToFile(String msg, String filePath,boolean appended) throws Exception { FileChan... 阅读全文
posted @ 2013-01-01 13:31 echx 阅读(276) 评论(0) 推荐(0) 编辑