Download the JDK
Search the Tutorials
Hide the TOC
Trail: Essential Classes
Lesson: Basic I/O
Basic I/O
I/O Streams
Byte Streams
Character Streams
Buffered Streams
Scanning and Formatting
Scanning
Formatting
I/O from the Command Line
Data Streams
Object Streams
File I/O
File Objects
Random Access Files
The New I/O Packages
Summary
Questions and Exercises
Home Page > Essential Classes > Basic I/O
« Previous • Trail • Next »
The New I/O Packages

> This lesson has mostly talked about the `java.io` package. This package provides all the I/O features most programmers will ever need. The package implements basic I/O services — data streams, random access files, character translation, and buffering — with a simple and easy-to-use API.

> However, some programmers of high-performance applications will need more flexibility than the `java.io` package supplies. They'll find it in the `java.nio.*` packages. These packages provide APIs for scalable I/O, fast buffered byte and character I/O, and character set conversion

« Previous • Trail • Next »
Previous page: Random Access Files
Next page: Summary