| java.io.InputStreamReader com.sun.kvem.midp.pim.LineReader
All known Subclasses: com.sun.kvem.midp.pim.formats.EndMatcher,
LineReader | public class LineReader extends InputStreamReader (Code) | | Reader that knows how to read non-blank lines. Line may be concatenated
according to section 2.1.3 of the vCard 2.1 specification; CRLF followed by
an LWSP character is treated as only the LWSP character.
The line terminator is taken as CRLF.
|
Inner Class :public static interface Matcher | |
Method Summary | |
public void | mark(int lookahead) Sets marker in input stream. | public boolean | markSupported() Checks if mark is supported. | public String | readLine() Reads a non-blank line. | public void | reset() Reset the line markers. |
mark | public void mark(int lookahead) throws IOException(Code) | | Sets marker in input stream.
Parameters: lookahead - offset to peek ahead throws: IOException - if any read ahead error occurs |
markSupported | public boolean markSupported()(Code) | | Checks if mark is supported.
true if mark is supported |
readLine | public String readLine() throws IOException(Code) | | Reads a non-blank line.
a line of text (without line terminators)or null if no more lines are available throws: IOException - if a read error occurs |
reset | public void reset() throws IOException(Code) | | Reset the line markers.
throws: IOException - if an error occurs accessing theinput stream |
|
|