Trail: Essential Classes
Lesson: Basic I/O
Section: I/O Streams
Scanning and Formatting
Home Page > Essential Classes > Basic I/O

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.

Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Buffered Streams
Next page: Scanning - all specs in one place