anvil.core.io
Class SentinelInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--anvil.core.io.SentinelInputStream

public class SentinelInputStream
extends java.io.InputStream


Constructor Summary
SentinelInputStream(java.util.Iterator iter)
           
 
Method Summary
 int read()
           
 int read(byte[] array, int offset, int length)
           
 java.lang.String toString()
           
 
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SentinelInputStream

public SentinelInputStream(java.util.Iterator iter)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
java.io.IOException

read

public int read(byte[] array,
                int offset,
                int length)
Overrides:
read in class java.io.InputStream