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

3.29 avg rating
( 17 ratings by Goodreads )
 
9780596527501: Java I/O: Tips and Techniques for Putting I/O to Work
View all copies of this ISBN edition:
 
 

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

"synopsis" may belong to another edition of this title.

Review:

Because it doesn't provide a printf() function like C/C++, some developers think Java isn't up to snuff with files and streams. Author Rusty Harold Elliotte argues against this notion in Java I/O, a book that shows how Java's stream support can help simplify network programming, internationalization, and even compression and encryption.

The book opens with an overview of Java's stream capabilities. (The author defends Java's lack of support for console input/output (I/O) since today's applications use graphical user interfaces anyway.) He shows how to open, read, and write local files in Java applications. His file viewer example presents data in a variety of formats. (This example is improved several times until it winds up supporting different international character sets by the end of the book.)

Next the author covers network programming using URL and network streams, including sockets. Sections on filters show how classes can filter out characters within streams. The tour moves forward to cover data streams, which permit streaming of Java's primitive data types. Details on how to communicate within Java programs using pipes follow. In a notable chapter, the author thoroughly explicates Java's support for encryption, including hashing, the Data Encryption Standard (DES) algorithm, and ciphers.

The last portion of the book explains object serialization, which allows Java objects to save and restore their state, plus it includes sections on Java's support for data compression (and ZIP files) and multilingual Unicode character sets. (Java is prepared to handle virtually any of the world's languages with its reader and writer classes.) Finally, the author shows how you can format output in Java using its support for width and numeric precision APIs.

In all, Elliotte makes a good case that Java streams are a flexible and powerful part of the language, and certainly not a limitation. --Richard Dragan

Book Description:

Tips and Techniques for Putting I/O to Work

"About this title" may belong to another edition of this title.

Buy New View Book
List Price: US$ 59.99
US$ 47.02

Convert currency

Shipping: FREE
From United Kingdom to U.S.A.

Destination, rates & speeds

Add to Basket

Other Popular Editions of the Same Title

9780596101268: Java I/O

Featured Edition

ISBN 10:  0596101260 ISBN 13:  9780596101268
Publisher: O'Reilly, 2006
Softcover

Top Search Results from the AbeBooks Marketplace

1.

Elliotte Rusty Harold
Published by O Reilly Media, Inc, USA, United States (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback Quantity Available: 1
Seller:
Book Depository International
(London, United Kingdom)
Rating
[?]

Book Description O Reilly Media, Inc, USA, United States, 2006. Paperback. Condition: New. 2nd Revised edition. Language: English . Brand New Book. 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. Seller Inventory # AAH9780596527501

More information about this seller | Contact this seller

Buy New
US$ 47.02
Convert currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, rates & speeds

2.

Harold, Elliotte Rusty
Published by O'Reilly Media
ISBN 10: 0596527500 ISBN 13: 9780596527501
New PAPERBACK Quantity Available: > 20
Seller:
Mediaoutlet12345
(Springfield, VA, U.S.A.)
Rating
[?]

Book Description O'Reilly Media. PAPERBACK. Condition: New. 0596527500 *BRAND NEW* Ships Same Day or Next!. Seller Inventory # SWATI2132919808

More information about this seller | Contact this seller

Buy New
US$ 43.04
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

3.

Elliotte Rusty Harold
Published by O Reilly Media, Inc, USA, United States (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback Quantity Available: 1
Seller:
The Book Depository
(London, United Kingdom)
Rating
[?]

Book Description O Reilly Media, Inc, USA, United States, 2006. Paperback. Condition: New. 2nd Revised edition. Language: English . Brand New Book. 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. Seller Inventory # AAH9780596527501

More information about this seller | Contact this seller

Buy New
US$ 50.42
Convert currency

Add to Basket

Shipping: FREE
From United Kingdom to U.S.A.
Destination, rates & speeds

4.

Elliotte Rusty Harold (author)
Published by O'Reilly Media 2006-05-23, Sebastopol, Calif. |Farnham (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New paperback Quantity Available: 10
Seller:
Blackwell's
(Oxford, OX, United Kingdom)
Rating
[?]

Book Description O'Reilly Media 2006-05-23, Sebastopol, Calif. |Farnham, 2006. paperback. Condition: New. Seller Inventory # 9780596527501

More information about this seller | Contact this seller

Buy New
US$ 50.43
Convert currency

Add to Basket

Shipping: US$ 7.94
From United Kingdom to U.S.A.
Destination, rates & speeds

5.

Elliotte Rusty Harold
Published by O'Reilly Media (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback Quantity Available: 1
Seller:
Ergodebooks
(RICHMOND, TX, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2006. Paperback. Condition: New. Second Edition. Seller Inventory # DADAX0596527500

More information about this seller | Contact this seller

Buy New
US$ 56.69
Convert currency

Add to Basket

Shipping: US$ 3.99
Within U.S.A.
Destination, rates & speeds

6.

Harold, Elliotte Rusty
Published by O'Reilly Media 5/26/2006 (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback or Softback Quantity Available: 10
Seller:
BargainBookStores
(Grand Rapids, MI, U.S.A.)
Rating
[?]

Book Description O'Reilly Media 5/26/2006, 2006. Paperback or Softback. Condition: New. Java I/O. Book. Seller Inventory # BBS-9780596527501

More information about this seller | Contact this seller

Buy New
US$ 61.57
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

7.

Harold, Elliotte Rusty
Published by O'Reilly Media (2018)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback Quantity Available: 15
Print on Demand
Seller:
Murray Media
(North Miami Beach, FL, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2018. Paperback. Condition: New. Never used! This item is printed on demand. Seller Inventory # 0596527500

More information about this seller | Contact this seller

Buy New
US$ 63.89
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

8.

Elliotte Rusty Harold
Published by O'Reilly Media (2006)
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Softcover Quantity Available: 1
Seller:
Irish Booksellers
(Portland, ME, U.S.A.)
Rating
[?]

Book Description O'Reilly Media, 2006. Condition: New. book. Seller Inventory # M0596527500

More information about this seller | Contact this seller

Buy New
US$ 75.79
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

9.

Elliotte Rusty Harold
Published by O'Reilly Media
ISBN 10: 0596527500 ISBN 13: 9780596527501
New Paperback Quantity Available: > 20
Seller:
BuySomeBooks
(Las Vegas, NV, U.S.A.)
Rating
[?]

Book Description O'Reilly Media. Paperback. Condition: New. 728 pages. Dimensions: 9.2in. x 7.0in. x 1.3in.All of Javas InputOutput (IO) 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. Youre almost certainly familiar with the basic kinds of streams--but did you know that theres a CipherInputStream for reading encrypted data And a ZipOutputStream for automaticallycompressing data Do you know how to use buffered streams effectively to make your IO operations more efficient Java IO, 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 IO wouldnt 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 IO in virtually any language. Java also provides a sophisticated model for formatting textual and numeric data. Java IO, 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 IO, 2nd Edition includes: Coverage of all IO classes and related classesIn-depth coverage of Javas number formatting facilities and its support for international character sets This item ships from multiple locations. Your book may arrive from Roseburg,OR, La Vergne,TN. Paperback. Seller Inventory # 9780596527501

More information about this seller | Contact this seller

Buy New
US$ 77.52
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds

10.

Harold, Elliotte Rusty
Published by O'Reilly Media
ISBN 10: 0596527500 ISBN 13: 9780596527501
New PAPERBACK Quantity Available: > 20
Seller:
Russell Books
(Victoria, BC, Canada)
Rating
[?]

Book Description O'Reilly Media. PAPERBACK. Condition: New. 0596527500 Special order direct from the distributor. Seller Inventory # ING9780596527501

More information about this seller | Contact this seller

Buy New
US$ 71.99
Convert currency

Add to Basket

Shipping: US$ 7.00
From Canada to U.S.A.
Destination, rates & speeds

There are more copies of this book

View all search results for this book