public final class SMFTLineReaderList extends Object
| Modifier and Type | Method and Description |
|---|---|
static SMFTLineReaderType |
create(URI in_uri,
javaslang.collection.List<String> in_lines,
int in_start)
Construct a new line reader.
|
Optional<javaslang.collection.List<String>> |
line()
Get the next line.
|
protected String |
lineNextRaw() |
protected org.slf4j.Logger |
log() |
com.io7m.jlexing.core.LexicalPosition<URI> |
position() |
public static SMFTLineReaderType create(URI in_uri, javaslang.collection.List<String> in_lines, int in_start)
in_uri - The file path, for diagnostic messagesin_lines - The stream of linesin_start - The number of the starting line, for diagnostic messagesprotected org.slf4j.Logger log()
protected String lineNextRaw() throws IOException
IOExceptionpublic final com.io7m.jlexing.core.LexicalPosition<URI> position()
position in interface SMFTLineReaderTypepublic final Optional<javaslang.collection.List<String>> line() throws IOException
SMFTLineReaderTypeline in interface SMFTLineReaderTypeIOException - On I/O errorsCopyright © 2017 <code@io7m.com> http://io7m.com