Java: OutputStream and InputStream
<p>I have a class CBZip2OutputStream from "apache bzi2 library" , it can transform binary data stream to bzi2 data stream.
But I need to archive a string.
Therefore, i think, i should create an input stream from that outputstream, write that data to outputstream and read archived data from inputstream... but how to link outputstream and inputstream?</p>
