|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.codemesh.terp.util.StreamPumper
public class StreamPumper
| Constructor Summary | |
|---|---|
StreamPumper(java.io.InputStream is,
java.io.OutputStream os)
Creates a new stream pumper. |
|
| Method Summary | |
|---|---|
java.lang.Exception |
getException()
Returns the thrown exception if there was one. |
void |
run()
Performs the copy operation from input to output. |
void |
stop()
Stops the pumper but does not interrupt a blocking read. |
void |
waitFor()
Blocks until the pumper is finished. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamPumper(java.io.InputStream is,
java.io.OutputStream os)
is - the input streamos - the output stream.| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic void stop()
public void waitFor()
throws java.lang.InterruptedException
java.lang.InterruptedException - if interrupted.public java.lang.Exception getException()
|
terp - the Codemesh Modular Template Interpreter v1.3.309 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||