public class SkipCommentReader extends BufferedReader
| Modifier and Type | Class and Description |
|---|---|
static class |
SkipCommentReader.State |
| Constructor and Description |
|---|
SkipCommentReader(Reader reader) |
SkipCommentReader(Reader reader,
CommentBlockHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
SkipCommentReader.State |
getCursorState()
Used for JUnit tests
|
void |
pushback(CharSequence sequence) |
String |
readLine() |
int |
readSingleCharacter()
Recursive method that read a single character from underlying reader.
|
void |
setCommentBlockHandler(CommentBlockHandler commentBlockHandler) |
void |
setNumberOfCommingEscapes(int numberOfCommingEscapes) |
close, mark, markSupported, read, read, ready, reset, skippublic SkipCommentReader(Reader reader)
public SkipCommentReader(Reader reader, CommentBlockHandler handler)
public int readSingleCharacter()
throws IOException
IOExceptionpublic String readLine() throws IOException
readLine in class BufferedReaderIOExceptionpublic SkipCommentReader.State getCursorState()
public void setCommentBlockHandler(CommentBlockHandler commentBlockHandler)
public void setNumberOfCommingEscapes(int numberOfCommingEscapes)
public void pushback(CharSequence sequence)
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.