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