Java

New I/O APIs

Documentation Contents
The new I/O (NIO) APIs introduced in v 1.4 provide new features and improved performance in the areas of buffer management, scalable network and file I/O, character-set support, and regular-expression matching. The NIO APIs supplement the I/O facilities in the java.io package.

Features

The NIO APIs include the following features:

Examples

API References


Note: This document reflects the NIO APIs as of the J2SE v 1.4 FCS release. They remain the same in 1.4.1.
New packages, classes, and interfaces:

Note: The new InetSocketAddress and SocketAddress classes, while not strictly part of the NIO APIs, are used by them.

Revised classes and interfaces:

Three new functions have been added to the Java Native Interface (JNI) to support direct buffers. For information, see JNI Enhancements in v 1.4.

For More Information


Copyright © 2002 Sun Microsystems, Inc. All Rights Reserved.

Please send comments to: java-io@java.sun.com
Sun
Java Software