jist.runtime
Class ProxyPoint.StreamPump

java.lang.Object
  extended by jist.runtime.ProxyPoint.StreamPump
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ProxyPoint

public static class ProxyPoint.StreamPump
extends java.lang.Object
implements java.lang.Runnable

A Runnable object that pumps from an InputStream to an OutputStream.


Constructor Summary
ProxyPoint.StreamPump(java.io.InputStream in, java.io.OutputStream out)
          Create new stream pump.
 
Method Summary
 void run()
          Pumps from input to output, until end-of-file or error.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyPoint.StreamPump

public ProxyPoint.StreamPump(java.io.InputStream in,
                             java.io.OutputStream out)
Create new stream pump.

Parameters:
in - input stream to read
out - output stream to write to
Method Detail

run

public void run()
Pumps from input to output, until end-of-file or error.

Specified by:
run in interface java.lang.Runnable