比较详细的介绍:
http://www.ibm.com/developerworks/cn/education/java/j-nio/
实例代码:
http://blog.csdn.net/chjttony/article/details/7181427