If you're interested in learning how to boost input/output performance in Java applications, this is the book you want. The I/Oissue is a great concern to anyone involved in game programming or inbuilding large-scale enterprise applications, and with the I/O APIupdates in J2SE 5.0, "Java I/O, Second Edition isessential reading.The new edition offers you a complete introduction to I/Oalong with the major API improvements introduced in Java 5.0. Beginning with anoverview of Java's stream capabilities, the book shows you how to open,read, and write local files in Java applications, in addition tonetwork programming using URL and network streams, including sockets.In the sections on filters, you'll learn how classes canfilter out characters within streams. More advanced material covers theJava encryption mechanism, including hashing, the Data EncryptionStandard (DES) algorithm, and ciphers. You get a complete explanationof object serialization, which allows Java objects to save and restoretheir state, as well as details on Java's support for data compression(and ZIP files) and multilingual Unicode character sets. Finally,"Java I/O, Second Edition teaches you how to formatoutput in Java using its support for width and numeric precision APIs. Ifyou're a serious Java developer, this book is a must.
"synopsis" may belong to another edition of this title.
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
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 University Town 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 University where 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.
"About this title" may belong to another edition of this title.
(No Available Copies)
Search Books: Create a WantCan't find the book you're looking for? We'll keep searching for you. If one of our booksellers adds it to AbeBooks, we'll let you know!
Create a Want