public final class SMFTLineReaderStreamIO extends Object
| Modifier and Type | Method and Description |
|---|---|
static SMFTLineReaderType |
create(URI in_uri,
InputStream in_stream)
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, InputStream in_stream)
in_uri - The file URI, for diagnostic messagesin_stream - The input streamprotected 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