Cover Page by Herbert Schildt

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

CHAPTER 20Exploring NIO

Beginning with version 1.4, Java has provided a second I/O system called NIO (which is short for New I/O). It supports a buffer-oriented, channel-based approach to I/O operations. With the release of JDK 7, the NIO system has been greatly expanded and now provides enhanced support for file-handling and file system features. In fact, so significant are the changes that the term NIO.2 is often used. Because of the capabilities provided by the new NIO file classes, NIO is expected to become an increasingly important part of file handling going forward. This chapter explores several of the key features of the NIO system, including its new file-handling capabilities.

The NIO Classes

The NIO classes are contained in the packages ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required