Chapter 18. Advanced Input Output

  • Random Access File

  • Running Commands and Getting Output From Them

  • Formatted String Output

  • Writing Objects to Disk

  • New I/O Package

  • Memory Mapped I/O

  • File Locking

  • Charsets and Endian-ness

  • Exercises

  • Some Light Relief—The Illegal T-shirt!

I-O!

I-O!

It's off to work we go!

I-O, I/O, I/O.

This chapter follows on from the basic I/O chapter and provides information on more advanced I/O techniques in about a half-dozen sections, mostly independent. The section on the new I/O package (new in JDK 1.4 that is, with the name java.nio) is needed to understand the three other JDK 1.4 features of pattern matching, file locking, and character sets. You can read other sections in any order, or indeed skip the ...

Get Just Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.