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()
ContentTypeConverterexpectedSourceType in interface ContentTypeConverter<byte[],String>public Class<String> targetType()
ContentTypeConvertertargetType in interface ContentTypeConverter<byte[],String>public String convert(byte[] original)
ContentTypeConverterSerializedObject
instance.convert in interface ContentTypeConverter<byte[],String>original - the value to convertCopyright © 2010–2018. All rights reserved.