org.jivesoftware.util
Class InputOutputStreamWrapper
java.lang.Object
org.jivesoftware.util.InputOutputStreamWrapper
- All Implemented Interfaces:
- Callable
public class InputOutputStreamWrapper
- extends Object
- implements Callable
Callable which will read from an input stream and write to an output stream.
- Author:
- Alexander Wenckus
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InputOutputStreamWrapper
public InputOutputStreamWrapper(InputStream in,
OutputStream out,
int bufferSize)
InputOutputStreamWrapper
public InputOutputStreamWrapper(InputStream in,
OutputStream out)
call
public Object call()
throws Exception
- Specified by:
call
in interface Callable
- Throws:
Exception
getAmountWritten
public long getAmountWritten()
Copyright © 2003-2008 Jive Software.