|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.io.PushBackStringReader
public class PushBackStringReader
This class implements a PushBackReader for Strings which allows the reading
of entire lines as well as the pushing back of entire lines.
Little more functionality is present at this time.
Constructor Summary | |
---|---|
PushBackStringReader(String aSource)
This constructor requires the passing of a String from which to construct the PushBackStringReader. |
Method Summary | |
---|---|
String |
readLine()
This method reads a line of text from the buffer. |
void |
unreadLine()
This method 'unreads' a line of text from the Buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushBackStringReader(String aSource)
aSource
- String to construct the PushBackStringReader from.Method Detail |
---|
public String readLine()
public void unreadLine()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |