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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()abstract voidrunWithInputStream(InputStream inputStream) The task to be executed.voidsetInputStream(InputStream inputStream)