|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.InputStream
com.twelvemonkeys.io.NullInputStream
public class NullInputStream
An InputStream that contains no bytes.
| Constructor Summary | |
|---|---|
NullInputStream()
Creates a NullInputStream. |
|
| Method Summary | |
|---|---|
int |
available()
This implementation returns 0, always. |
int |
read()
This implementation returns -1 (EOF), always. |
long |
skip(long pOffset)
This implementation returns 0, always. |
| Methods inherited from class java.io.InputStream |
|---|
close, mark, markSupported, read, read, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullInputStream()
NullInputStream.
| Method Detail |
|---|
public int read()
throws IOException
-1 (EOF), always.
read in class InputStream-1
IOException
public int available()
throws IOException
0, always.
available in class InputStream0
IOException
public long skip(long pOffset)
throws IOException
0, always.
skip in class InputStream0
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||