org.codehaus.wadi.core.util
Interface Streamer
- All Known Implementing Classes:
- GZIPStreamer, SimpleStreamer
public interface Streamer
Abstract factory. Allows pluggable implementations of various
input/output streaming mechanisms to support e.g. compression,
encryption etc... I'd like to pool these, but the streams apis
don't allow the resetting of the streams that they wrap.
- Version:
- $Revision: 2276 $
- Author:
- Jules Gosnell
getInputStream
java.io.ObjectInput getInputStream(java.io.InputStream is)
throws java.io.IOException
- Throws:
java.io.IOException
getOutputStream
java.io.ObjectOutput getOutputStream(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
getSuffix
java.lang.String getSuffix()
getSuffixWithDot
java.lang.String getSuffixWithDot()
Copyright © 2010. All Rights Reserved.