Turning streams inside out, Part 1 (IBM developerWorks)
[Posted July 10, 2002 by cook]
Merlin Hughes
shows how to read data from an output stream using Java.
"
The Java I/O framework is, in general, extremely versatile. The same framework supports file access, network access, character conversion, compression, encryption and so forth. Sometimes, however, it is not quite flexible enough. For example, the compression streams allow you to write data into a compressed form but they don't let you read it in a compressed form. Similarly, some third-party modules are built to write out data, without consideration for scenarios where applications need to read in the data."
(
Log in to post comments)