O’Reilly news

The Power of Java's I/O Explored in New O'Reilly Release

March 24, 1999

SEBASTOPOL, CA--"Almost every serious Java program eventually makes use of I/O for one purpose or another," says Elliot Rusty Harold, author of the just-off-the-press book Java I/O. "While text book examples often limit themselves to command line arguments and system.out.println(), real world programs and real world programmers need to write files, open sockets, encrypt data, talk to serial port devices, communicate with databases and do a whole hell of a lot more. Using well designed I/O as opposed to System.out.println() is one of the distinguishing factors between amateur and professional programmers."

Java is no longer just a tool for creating animated icons on web pages. It's a full-fledged programming language that is often the first choice for many coders today. Java's clean structure, automated memory management, and webcentric design makes it one of the fastest development tools around. Mastery of the Java I/O is a crucial skill for a Java programmer. "Unfortunately," explains Harold, "precisely because Java I/O is structured so differently from I/O in the languages most of us grew up with, many programmers don't realize how simple and powerful it really is. Programmers try to force Java I/O to fit into the model of a non-internationalized language like C or Pascal, and it doesn't. Once you understand how the different languages perform the logically separate functions, and how all the layers connect together, then performing operations that would be unmanageably complex in other languages, becomes almost trivial."

Until now, there was little published that went beyond the most basic of streams. Java professionals certainly are familiar with these streams, but did you know that there's a CryptInputStream 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 tells you all you need to know about streams -and probably more. It also covers essential subjects such character sets and formatting; and 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's support of the UNICODE standard allows you to do I/O in virtually any language).

For more information on this new book, including Table of Contents and index, see: http://www.oreilly.com/catalog/javaio/

Read an interview of the author at: http://java.oreilly.com/news/harold_0399.html

###

Java I/O
By Elliotte Rusty Harold
1st Edition March 1999 (US)
1-56592-485-1, 596 pages, $32.95 (US$)

About O’Reilly

O’Reilly, the premier learning platform for technology professionals, offers the industry’s most extensive catalog of high-quality technical and professional skills development courses. From AI, programming, and cloud technologies to essential business skills such as leadership training and critical thinking, O’Reilly delivers highly trusted content from its network of renowned experts that meets a diverse array of learning needs, with over 5,000 role-based on-demand courses, nearly 200 live events each month, access to interactive sandboxes and labs, and more. For more information, visit www.oreilly.com.

Email a link to this press release