public class DocumentsFastReader extends Object implements SequenceWithClose<DocumentData>
| Constructor and Description |
|---|
DocumentsFastReader(String location,
long length)
Constructor for the DocumentsFastReader object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the reader's data stream.
|
DocumentData |
next()
Return the next element.
|
void |
rewind() |
public DocumentsFastReader(String location, long length) throws IOException
location - the directory where this object
will readlength - IOException - if an I/O error occurspublic void rewind()
throws IOException
IOExceptionpublic void close()
close in interface AutoCloseableclose in interface SequenceWithClose<DocumentData>public DocumentData next()
next in interface Sequence<DocumentData>Copyright © 2016 Egothor. All Rights Reserved.