|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nlm.util.MultiplePathReader
Constructor Summary | |
MultiplePathReader(BufferedReader[] readers)
Instantiates a MultiplePathReader from the component BufferedReader s. |
Method Summary | |
void |
close()
Close the MultiplePathReader . |
void |
mark(int read_ahead_limit)
Mark the present position in the stream. |
String |
readLine()
Read a line of text from the current BufferedReader . |
void |
reset()
Reset the stream to the most recent mark. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiplePathReader(BufferedReader[] readers)
MultiplePathReader
from the component BufferedReader
s.
readers
- array of BufferedReader
sMethod Detail |
public String readLine() throws IOException
BufferedReader
. Increment to return
lines from the next BufferedReader
when the current one returns null.
String
IOException
public void close() throws IOException
MultiplePathReader
.
IOException
public void mark(int read_ahead_limit) throws IOException
read_ahead_limit
- limit on the number of characters that may be read
while still preserving the mark
IOException
public void reset() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |