public class InputStreamToByteArrayConverter extends AbstractContentTypeConverter<InputStream,byte[]>
Constructor and Description |
---|
InputStreamToByteArrayConverter() |
Modifier and Type | Method and Description |
---|---|
byte[] |
convert(InputStream original)
Converts the given object into another.
|
Class<InputStream> |
expectedSourceType()
The expected type of input data.
|
Class<byte[]> |
targetType()
The returned type of IntermediateRepresentation
|
convert
public Class<InputStream> expectedSourceType()
ContentTypeConverter
public Class<byte[]> targetType()
ContentTypeConverter
public byte[] convert(InputStream original)
ContentTypeConverter
SerializedObject
instance.original
- the value to convertCopyright © 2010-2014. All Rights Reserved.