1.nio操作 https://blog.csdn.net/u011381576/article/details/79876754
详细教程:http://ifeve.com/overview/
- io通过流传递数据(单向),nio通过通道Channel传递数据(双向)
- nio通道类型:FileChannel、SocketChannel、ServerSocketChannel、DatagramChannel
1.nio操作 https://blog.csdn.net/u011381576/article/details/79876754
详细教程:http://ifeve.com/overview/