net.schmizz.sshj.common
Class StreamCopier
java.lang.Object
net.schmizz.sshj.common.StreamCopier
public class StreamCopier
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamCopier
public StreamCopier(InputStream in,
OutputStream out)
bufSize
public StreamCopier bufSize(int bufSize)
keepFlushing
public StreamCopier keepFlushing(boolean keepFlushing)
listener
public StreamCopier listener(StreamCopier.Listener listener)
length
public StreamCopier length(long length)
spawn
public Event<IOException> spawn(String name)
spawnDaemon
public Event<IOException> spawnDaemon(String name)
copy
public long copy()
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.