What is NIO.2?
Created Jun 28, 2012
Part of the OpenJDK project, NIO.2 was incorporated into Java 7 as JSR 203. It adds new I/O capabilities designed to simplify application development. Key features of NIO.2 include the following:
- A unified model for all file systems
- File tree walk
- Support for basic file operations like copy, delete and move
- Symbolic links support
- File system change notifications
- SPI for supporting new file systems
- Multicasting support
- Asynchronous I/O for sockets and files