|
Sharkysoft home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.io.InputStream
|
+--lava.io.NullInputStream
Empty input stream.
Details: NullInputStream is an empty (zero-read immediately returns the EOS token (-1).
| Constructor Summary | |
NullInputStream()
|
|
| Method Summary | |
boolean |
markSupported()
True. |
int |
read()
Returns EOS token. |
void |
reset()
No operation. |
| Methods inherited from class java.io.InputStream |
available, close, mark, read, read, skip |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NullInputStream()
| Method Detail |
public int read()
Details: read returns -1, the end-
read in class java.io.InputStreampublic boolean markSupported()
Details: markSupported returns true, since it is trivial to mark a position within a zero-
markSupported in class java.io.InputStreampublic void reset()
Details: reset does absolutely nothing.
reset in class java.io.InputStream
|
Sharkysoft home | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||