public class ByteArrayToInputStreamConverter extends Object implements ContentTypeConverter<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
|
public Class<byte[]> expectedSourceType()
ContentTypeConverter
expectedSourceType
in interface ContentTypeConverter<byte[],InputStream>
public Class<InputStream> targetType()
ContentTypeConverter
targetType
in interface ContentTypeConverter<byte[],InputStream>
public InputStream convert(byte[] original)
ContentTypeConverter
SerializedObject
instance.convert
in interface ContentTypeConverter<byte[],InputStream>
original
- the value to convertCopyright © 2010–2024. All rights reserved.