T
- the type of target data model@FunctionalInterface public static interface DataModelStreamSupport.DataModelReader<T>
InputStream
interface for data models.Modifier and Type | Method and Description |
---|---|
boolean |
readTo(T object)
Fetches next object data from the related
InputStream ,
and set properties into the specified object. |
boolean readTo(T object) throws IOException
InputStream
,
and set properties into the specified object.object
- the target objecttrue
if the next object data exists, otherwise false
IOException
- if failed to read the next object from the related streamIllegalArgumentException
- if object
is null
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.