T - data typepublic class VoidModelInput<T> extends Object implements ModelInput<T>
ModelInput.| Constructor and Description |
|---|
VoidModelInput() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
readTo(T model)
Reads contents and write them into the target data model object.
|
public boolean readTo(T model) throws IOException
ModelInputreadTo in interface ModelInput<T>model - the target data model objecttrue if the next data was successfully read, or false if there is no any moreIOException - if error occurred while reading the next datapublic void close()
close in interface Closeableclose in interface AutoCloseableCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.