Chapter 13. java.nio and Subpackages


This chapter documents the New I/O API defined by the java.nio package and its subpackages. It covers:


java.nio

Defines the Buffer class and type-specific subclasses, most notably the ByteBuffer class that is heavily used for I/O in the java.nio.channels class.


java.nio.channels

Defines the Channel abstraction for high-performance I/O, and implements channels for file and network I/O. Also allows nonblocking I/O with the Selector class.


java.nio.channels.spi

The service provider interface for channel and selector implementations .


java.nio.charset

Defines classes for encoding sequences of characters into bytes and decoding sequences of bytes into characters , according to the encoding rules of a named charset.


java.nio.charset.spi

The service provider interface for charset implementations.



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net