T
- the target modelpublic class WindGateOutput<T> extends Object implements ModelOutput<T>
ModelOutput
using DrainDriver
.Constructor and Description |
---|
WindGateOutput(DrainDriver<T> driver)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(T model)
Writes the contents of the data model object.
|
public WindGateOutput(DrainDriver<T> driver)
driver
- the drain driver, this must be preparedIllegalArgumentException
- if some parameters were null
public void write(T model) throws IOException
ModelOutput
write
in interface ModelOutput<T>
model
- the target data model objectIOException
- if error occurred while writing the data model objectpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.