
NIO
文章平均质量分 60
yaohonv
这个作者很懒,什么都没留下…
展开
-
NIO 简单的读文件写文件实例
public static void copyFile() throws Exception { String infile = "C:\\src.txt"; String outfile = "C:\\copy0.txt"; // 获取源文件和目标文件的输入输出流原创 2011-08-15 19:26:17 · 749 阅读 · 0 评论 -
NIO中异步IO的完整实现实例
重点是Selector这个类,测试时,启动后,远程登录监听的端口 public class SelectSockets { public static int PORT_NUMBER = 1234; public static void main(String[] a原创 2011-08-02 09:54:32 · 578 阅读 · 0 评论 -
NIO利用磁盘映射 实现的文件内容查找
public class Grep { // Charset and decoder for ISO-8859-15 private static Charset charset = Charset.forName("ISO-8859-15"); private stat原创 2011-08-17 11:54:52 · 827 阅读 · 0 评论 -
NIO 一些要点
[url]http://adapterofcoms.iteye.com/blog/605080[/url]原创 2011-08-29 23:15:25 · 117 阅读 · 0 评论