No reviews yet.
The New I/O (NIO) Library included in JDK 1.4 represents a revolution in the way that Java programs read and write data. The new channel and buffer classes allow for production-level efficiency while still maintaining full cross-platform portability. And if you think you won't use them, think again -- the stream classes have been re-implemented on top of NIO.
This e-doc will guide you through the nitty-gritty of the new channel and buffer classes, showing you how they work and how to use them to accomplish staple I/O tasks. It also outlines some of the exciting new features that are made possible by NIO -- including memory-mapped files and non-blocking I/O.
This e-doc will show you how to:
Sample programs included in this chapter: