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 Beta 2 release. For a list of the differences between the Beta 2 and Beta 3 releases, see NIO APIs: Beta 3 Changes.

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 © 1999-2001 Sun Microsystems, Inc. All Rights Reserved.

Sun
Java Software