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 nullpublic void write(T model) throws IOException
ModelOutputwrite 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 Closeableclose in interface AutoCloseableIOExceptionCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.