public class ByteArrayToStringConverter extends Object implements ContentTypeConverter<byte[],String>
Constructor and Description |
---|
ByteArrayToStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
convert(byte[] original)
Converts the given object into another.
|
Class<byte[]> |
expectedSourceType()
The expected type of input data.
|
Class<String> |
targetType()
The returned type of IntermediateRepresentation
|
public Class<byte[]> expectedSourceType()
ContentTypeConverter
expectedSourceType
in interface ContentTypeConverter<byte[],String>
public Class<String> targetType()
ContentTypeConverter
targetType
in interface ContentTypeConverter<byte[],String>
public String convert(byte[] original)
ContentTypeConverter
SerializedObject
instance.convert
in interface ContentTypeConverter<byte[],String>
original
- the value to convertCopyright © 2010–2017. All rights reserved.