com.planetj.servlet.filter.compression
Interface CompressingOutputStream
interface CompressingOutputStream
Implementations of this interface encapsulate an OutputStream
that compresses data written to it. This
includes the compressing OutputStream
itself (see getCompressingOutputStream()
), and the ability to
tell the stream that no more data will be written, so that the stream may write any trailing data needed by the
compression algorithm (see finish()
).
- Author:
- Sean Owen
getCompressingOutputStream
java.io.OutputStream getCompressingOutputStream()
finish
void finish()
throws java.io.IOException
- Throws:
java.io.IOException