iaik.utils
Class NotifyEOFInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--java.io.FilterInputStream
|
+--iaik.utils.NotifyEOFInputStream
- public class NotifyEOFInputStream
- extends java.io.FilterInputStream
This is an ordinary InputStream which notifies all listeners when
the end of a stream has been reached.
| Fields inherited from class java.io.FilterInputStream |
in |
| Methods inherited from class java.io.FilterInputStream |
available,
close,
mark,
markSupported,
read,
reset,
skip |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NotifyEOFInputStream
public NotifyEOFInputStream(java.io.InputStream is)
addEOFListener
public void addEOFListener(EOFListener listener)
read
public int read()
throws java.io.IOException
- Overrides:
- read in class java.io.FilterInputStream
read
public int read(byte[] b,
int off,
int len)
throws java.io.IOException
- Overrides:
- read in class java.io.FilterInputStream