|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.squawk.util.LineReader
public final class LineReader
This class provides for reading lines from a reader. This is functionality normally provided by the non-J2ME class BufferedReader.
Constructor Summary | |
---|---|
LineReader(Reader reader)
Creates a new LineReader to parse the lines from a given Reader. |
Method Summary | |
---|---|
String |
readLine()
Read a line of text. |
Vector |
readLines(Vector v)
Read all the lines from the input stream and add them to a given Vector. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineReader(Reader reader)
reader
- the reader providing the input to be parsed into linesMethod Detail |
---|
public String readLine() throws IOException
IOException
- If an I/O error occurspublic Vector readLines(Vector v) throws IOException
v
- the vector to add to or null if it should be created first by this method.
IOException
- If an I/O error occurs
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |