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