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
ModelInput
readTo
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 Closeable
close
in interface AutoCloseable
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.