Documentation

The Java™ Tutorials
Hide TOC
Scanning and Formatting
Trail: Essential Java Classes
Lesson: Basic I/O
Section: I/O Streams

Scanning and Formatting

Programming I/O often involves translating to and from the neatly formatted data humans like to work with. To assist you with these chores, the Java platform provides two APIs. The scanner API breaks input into individual tokens associated with bits of data. The formatting API assembles data into nicely formatted, human-readable form.


Previous page: Buffered Streams
Next page: Scanning