- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable
public class SuspendableInputStream
extends java.io.FilterInputStream
This input stream can be used to suspend, resume and abort a worker thread
who is reading an input stream.
The methods #suspend, #resume and #abort must by called from a different
thread (the supervising thread).
- Version:
- 1.0.1 2003-04-25 Source code complies now to Java Code Conventions.
1.0 1999-05-09 Created.
- Author:
- Werner Randelshofer, Staldenmattweg 2, CH-6410 Goldau, Switzerland