O'Reilly logo

Beginning Java 7 by Jeff Friesen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

C H A P T E R 8

Interacting with Filesystems

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 File, RandomAccessFile, stream, and writer/reader APIs. Chapter 8 introduces you to File, RandomAccessFile, and various stream and writer/reader APIs.

images 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required