Applications often interact with the filesystem to output data to and/or input data from files. Java's standard class library supports filesystem access via its classic
RandomAccessFile, stream, and writer/reader APIs. Chapter 8 introduces you to
RandomAccessFile, and various stream and writer/reader APIs.
Note Although it's preferred to access filesystems via Java's New I/O APIs, I don't discuss New I/O in this chapter because aspects of New I/O involve networking, which I don't discuss until Chapter 9. Also, you should know about this chapter's classic I/O APIs because you'll encounter ...