Package VASSAL.tools.io
Interface InputStreamPump
- All Superinterfaces:
Runnable
- All Known Implementing Classes:
InputOutputStreamPump
public interface InputStreamPump extends Runnable
Pumps an
InputStream.- Since:
- 3.2.0
- Author:
- Joel Uckelman
-
Method Summary
Modifier and Type Method Description voidsetInputStream(InputStream in)Sets the input stream.
-
Method Details
-
setInputStream
Sets the input stream.- Parameters:
in- the input stream- Throws:
UnsupportedOperationException- if called after the pump is started
-