Documentation

Scanning and Formatting
Trail: Essential 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