public interface StreamToValueConverterSPI<T>
Modifier and Type | Method and Description |
---|---|
Class<T> |
getPojoClass()
The class of objects which this builder can construct from a stream
|
T |
renderFrom(InputStream stream,
ReferencedDataNature dataNature,
String charset)
Render the stream to the target object type
|
Class<T> getPojoClass()
T renderFrom(InputStream stream, ReferencedDataNature dataNature, String charset)
stream
- input stream of data to render to the object; the caller will
close itcharset
- dataNature
- Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.