public static class Restarter.InputStreamSink
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Method and Description |
---|---|
void |
run()
When an object implementing interface
Runnable is used
to create a thread, starting the thread causes the object's
run method to be called in that separately executing
thread. |
static void |
start(java.io.PrintStream outStream,
java.io.InputStream inStream)
Start a sink on the given stream.
|
public void run()
Runnable
is used
to create a thread, starting the thread causes the object's
run
method to be called in that separately executing
thread.
The general contract of the method run
is that it may
take any action whatsoever.run
in interface java.lang.Runnable
Thread.run()