|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.io.InputStream
com.timeindexing.appl.IndexInputStream
public class IndexInputStream
A InputStream class to get access to data that is in an Index, in situations where an InputStream is needed.
| Constructor Summary | |
|---|---|
IndexInputStream(Index anIndex)
Construct an IndexInputStream object given an Index. |
|
| Method Summary | |
|---|---|
int |
read()
Reads the next byte of data from the input stream. |
| Methods inherited from class java.io.InputStream |
|---|
available, close, mark, markSupported, read, read, reset, skip |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexInputStream(Index anIndex)
| Method Detail |
|---|
public int read()
throws java.io.IOException
int in the
range 0 to
255. If no byte is available because
the end of the Index
has been reached, the value -1 is returned.
read in class java.io.InputStream-1
if the end of the index is reached.
java.io.IOException - if an I/O error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||