CARVIEW |
By Elliotte Rusty Harold
Second Edition
May 2006
Pages: 726
ISBN 10: 0-596-52750-0 |
ISBN 13: 9780596527501
All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java I/O, 2nd Edition tells you all you need to know about the four main categories of streams and uncovers less-known features to help make your I/O operations more efficient. You'll also learn how to control number formatting, use characters aside from the standard ASCII character set, and get a head start on writing truly multilingual software.
Full Description
All of Java's Input/Output (I/O) facilities are based on streams, which provide simple ways to read and write data of different types. Java provides many different kinds of streams, each with its own application. The universe of streams is divided into four large categories: input streams and output streams, for reading and writing binary data; and readers and writers, for reading and writing textual (character) data. You're almost certainly familiar with the basic kinds of streams--but did you know that there's a CipherInputStream for reading encrypted data? And a ZipOutputStream for automatically compressing data? Do you know how to use buffered streams effectively to make your I/O operations more efficient? Java I/O, 2nd Edition has been updated for Java 5.0 APIs and tells you all you ever need to know about streams--and probably more.
A discussion of I/O wouldn't be complete without treatment of character sets and formatting. Java supports the Unicode standard, which provides definitions for the character sets of most written languages. Consequently, Java is the first programming language that lets you do I/O in virtually any language. Java also provides a sophisticated model for formatting textual and numeric data. Java I/O, 2nd Edition shows you how to control number formatting, use characters aside from the standard (but outdated) ASCII character set, and get a head start on writing truly multilingual software.
Java I/O, 2nd Edition includes:
- Coverage of all I/O classes and related classes
- In-depth coverage of Java's number formatting facilities and its support for international character sets
Featured customer reviews
Be the first person to review this book!
Media reviews
"Elliotte Rusty Harold is certainly one of the best writers in computer programming. His attention to detail and care in making his explanations easy to follow are outstanding."
-- Bruce Eckel, author of Thinking in Java
"The author emphasizes the diverse set of I/O classes in the core Java programming API. I/O, or input and output, are a fundamental part of every computer operating system or programming language. Java's I/O facilities are very flexible and simple to use, and provide everything from simple binary and text output to USB and Bluetooth communication. The book includes practical examples of all aspects of I/O processes."
-- Michael Kleper, The Kleper Report on Digital Publishing
"Elliotte Rusty Harold put a lot of hard work and detail into making Java I/O understandable and usable, and it shows. This book will prove an invaluable resource to the Java programmer interested in strengthening his or her I/O knowledge."
-- Raoul Pop, Blogcritics.org
"...one of the best writers in computer programming."
--Bruce Eckel, author of Thinking in Java
About O'Reilly | Contact | Jobs | Press Room | How to Advertise | Privacy Policy
|
© 2008, O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.