anvil.core.io
Class SentinelInputStream
java.lang.Object
|
+--java.io.InputStream
|
+--anvil.core.io.SentinelInputStream
- public class SentinelInputStream
- extends java.io.InputStream
|
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 |
SentinelInputStream
public SentinelInputStream(java.util.Iterator iter)
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