|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.dockyard.StreamReader
public class StreamReader
StreamReader.java
| Constructor Summary | |
|---|---|
StreamReader(DataInput in)
|
|
| Method Summary | |
|---|---|
void |
close()
Close this BarrelReader. |
SequenceWithClose<DocumentData> |
getDocuments()
Returns an enumeration of all active documents. |
SequenceWithClose<IListReader> |
getILists()
Returns an enumeration of all inverted lists. |
long |
length()
Returns number of active documents in this Barrel. |
void |
rewind()
Restart this BarrelReader so that the documents can be read again. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StreamReader(DataInput in)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public long length()
BarrelReader
length in interface BarrelReader
public void rewind()
throws java.io.IOException
rewind in interface BarrelReaderjava.io.IOExceptionpublic SequenceWithClose<IListReader> getILists()
BarrelReaderIListReaders. The readers must be initialized
and the reader can represent a free list, that is, an IListReader that
has no items can be returned.
getILists in interface BarrelReaderpublic SequenceWithClose<DocumentData> getDocuments()
BarrelReaderDocumentDatas. If the enumeration contains no
elements, then the Barrel was destroyed completely.
getDocuments in interface BarrelReaderpublic void close()
BarrelReader
close in interface BarrelReader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||