Package org.csstudio.swt.widgets.util
Class AbstractInputStreamRunnable
java.lang.Object
org.csstudio.swt.widgets.util.AbstractInputStreamRunnable
- All Implemented Interfaces:
Runnable
A runnable that able to inject inputstream to the task, so the method
setInputStream(InputStream)
must be
called before scheduling this task. Subclass should only implement runWithInputStream(InputStream)
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run()
abstract void
runWithInputStream
(InputStream inputStream) The task to be executed.void
setInputStream
(InputStream inputStream)