public class Utf8LineOutput extends LineOutput
Constructor and Description |
---|
Utf8LineOutput(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.
|
newInstance
public Utf8LineOutput(OutputStream stream, String path, LineConfiguration configuration)
stream
- the target streampath
- the destination pathconfiguration
- current configurationIllegalArgumentException
- if some parameters were null
LineOutput.newInstance(OutputStream, String, LineConfiguration)
public void write(StringOption model) throws IOException
ModelOutput
model
- the target data model objectIOException
- if error occurred while writing the data model objectpublic void close() throws IOException
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.