org.asciidoctor.extension
public interface Reader
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advance to the next line by discarding the line at the front of the stack
|
int |
getLineno()
Get the 1-based offset of the current line.
|
boolean |
hasMoreLines()
Check whether there are any lines left to read.
|
boolean |
isNextLineEmpty()
Peek at the next line and check if it's empty (i.e., whitespace only)
This method Does not consume the line from the stack.
|
List<String> |
lines() |
String |
read()
Get the remaining lines of source data joined as a String.
|
List<String> |
readLines()
Get the remaining lines of source data.
|
void |
terminate()
Public: Advance to the end of the reader, consuming all remaining lines
|
int getLineno()
boolean hasMoreLines()
boolean isNextLineEmpty()
String read()
List<String> readLines()
void advance()
void terminate()
Copyright © 2014. All Rights Reserved.