iaik.utils
Class NotifyEOFInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--iaik.utils.NotifyEOFInputStream

public class NotifyEOFInputStream
extends FilterInputStream

This is an ordinary InputStream which notifies all listeners when the end of a stream has been reached.

Version:
File Revision 11

Fields inherited from class java.io.FilterInputStream
in
 
Constructor Summary
NotifyEOFInputStream(InputStream is)
           
 
Method Summary
 void addEOFListener(EOFListener listener)
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 
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
 

Constructor Detail

NotifyEOFInputStream

public NotifyEOFInputStream(InputStream is)
Method Detail

addEOFListener

public void addEOFListener(EOFListener listener)

read

public int read()
         throws IOException
Overrides:
read in class FilterInputStream

read

public int read(byte[] b,
                int off,
                int len)
         throws IOException
Overrides:
read in class FilterInputStream

This Javadoc may contain text parts from Internet Standard specifications (RFC 2459, 3280, 3039, 2560, 1521, 821, 822, 2253, 1319, 1321, ,2630, 2631, 2268, 3058, 2984, 2104, 2144, 2040, 2311, 2279, see copyright note) and RSA Data Security Public-Key Cryptography Standards (PKCS#1,3,5,7,8,9,10,12, see copyright note).

IAIK-JCE 3.1 with IAIK-JCE CC Core 3.1, (c) 1997-2004 IAIK