O'Reilly logo

Core Java™ Volume II–Advanced Features, Eighth Edition by Gary Cornell, Cay S. Horstmann

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

Chapter 1. Streams and Files

<feature><title></title> <objective>

STREAMS

</objective>
<objective>

TEXT INPUT AND OUTPUT

</objective>
<objective>

READING AND WRITING BINARY DATA

</objective>
<objective>

ZIP ARCHIVES

</objective>
<objective>

OBJECT STREAMS AND SERIALIZATION

</objective>
<objective>

FILE MANAGEMENT

</objective>
<objective>

NEW I/O

</objective>
<objective>

REGULAR EXPRESSIONS

</objective>
</feature>

In this chapter, we cover the Java application programming interfaces (APIs) for input and output. You will learn how to access files and directories and how to read and write data in binary and text format. This chapter also shows you the object serialization mechanism that lets you store objects as easily as you can store text or numeric data. Next, ...

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