Java I/O: Tips and Techniques for Putting I/O to Work

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 largecategories: 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 automaticallycompressing 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
1140203150
Java I/O: Tips and Techniques for Putting I/O to Work

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 largecategories: 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 automaticallycompressing 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
35.99 In Stock
Java I/O: Tips and Techniques for Putting I/O to Work

Java I/O: Tips and Techniques for Putting I/O to Work

by Elliotte Rusty Harold
Java I/O: Tips and Techniques for Putting I/O to Work

Java I/O: Tips and Techniques for Putting I/O to Work

by Elliotte Rusty Harold

eBook

$35.99  $47.99 Save 25% Current price is $35.99, Original price is $47.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


Overview

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 largecategories: 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 automaticallycompressing 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

Product Details

ISBN-13: 9781449390884
Publisher: O'Reilly Media, Incorporated
Publication date: 05/16/2006
Sold by: Barnes & Noble
Format: eBook
Pages: 728
File size: 5 MB

About the Author

Elliotte Rusty Harold is originally from New Orleans to which he returns periodically in search of a decent bowl of gumbo. However, he currently resides in the UniversityTown Center neighborhood of Irvine with his wife Beth, dog Shayna, and cats Charm (named after the quark) and Marjorie (named after his mother-in-law). He's an adjunct professor of computer science at Polytechnic Universitywhere he teaches Java, XML, and object oriented programming. He's a frequent speaker at industry conferences including Software Development, Dr. Dobb's Architecure & Design World, SD Best Practices, Extreme Markup Languages, and too many user groups to count. His open source projects include the XOM Library for processing XML with Java and the Amateur media player.

Table of Contents

  • Preface
  • Basic I/O
    • Chapter 1: Introducing I/O
    • Chapter 2: Output Streams
    • Chapter 3: Input Streams
  • Data Sources
    • Chapter 4: File Streams
    • Chapter 5: Network Streams
  • Filter Streams
    • Chapter 6: Filter Streams
    • Chapter 7: Print Streams
    • Chapter 8: Data Streams
    • Chapter 9: Streams in Memory
    • Chapter 10: Compressing Streams
    • Chapter 11: JAR Archives
    • Chapter 12: Cryptographic Streams
    • Chapter 13: Object Serialization
  • New I/O
    • Chapter 14: Buffers
    • Chapter 15: Channels
    • Chapter 16: Nonblocking I/O
  • The File System
    • Chapter 17: Working with Files
    • Chapter 18: File Dialogs and Choosers
  • Text
    • Chapter 19: Character Sets and Unicode
    • Chapter 20: Readers and Writers
    • Chapter 21: Formatted I/O with java.text
  • Devices
    • Chapter 22: The Java Communications API
    • Chapter 23: USB
    • Chapter 24: The J2ME Generic Connection Framework
    • Chapter 25: Bluetooth
  • Appendix
  • Colophon
From the B&N Reads Blog

Customer Reviews