public interface BinderReader
| Modifier and Type | Method and Description |
|---|---|
<T> T |
read(Class<? extends T> type,
InputStream source)
Read or deserialize an input stream into a POJO of specific type.
|
<T> T |
read(Class<? extends T> type,
Reader source)
Read or deserialize a character stream reader into a POJO of specific type.
|
<T> T |
read(Class<? extends T> type,
String source)
Read or deserialize an string into a POJO of specific type.
|
<T> T read(Class<? extends T> type, InputStream source) throws ReaderException, MappingException
type - target typesource - an input streamReaderException - if reads failMappingException<T> T read(Class<? extends T> type, String source) throws ReaderException, MappingException
type - target typesource - a stringReaderException - if reads failMappingException<T> T read(Class<? extends T> type, Reader source) throws ReaderException, MappingException
type - target typesource - a character stream readerReaderException - if reads failMappingExceptionCopyright © 2016. All rights reserved.