public abstract class LineInput extends Object implements ModelInput<StringOption>
| Constructor and Description |
|---|
LineInput() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
getLineNumber()
Returns the number of lines which this object has read.
|
abstract String |
getPath()
Returns the parsing target path.
|
static LineInput |
newInstance(InputStream stream,
String path,
LineConfiguration configuration)
Creates a new instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadTopublic static LineInput newInstance(InputStream stream, String path, LineConfiguration configuration)
stream - the source streampath - the source pathconfiguration - the current configurationIllegalArgumentException - if some parameters were nullpublic abstract String getPath()
public abstract long getLineNumber()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.