public class BasicLineOutput extends LineOutput
| Constructor and Description |
|---|
BasicLineOutput(OutputStream stream,
String path,
LineConfiguration configuration)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(StringOption model)
Writes the contents of the data model object.
|
newInstancepublic BasicLineOutput(OutputStream stream, String path, LineConfiguration configuration)
stream - the target streampath - the destination pathconfiguration - current configurationIllegalArgumentException - if some parameters were nullLineOutput.newInstance(OutputStream, String, LineConfiguration)public void write(StringOption model) throws IOException
ModelOutputmodel - the target data model objectIOException - if error occurred while writing the data model objectpublic void close()
throws IOException
IOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.