public class ByteArrayToStringConverter extends AbstractContentTypeConverter<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
|
convertpublic Class<byte[]> expectedSourceType()
ContentTypeConverterpublic Class<String> targetType()
ContentTypeConverterpublic String convert(byte[] original)
ContentTypeConverterSerializedObject
instance.original - the value to convertCopyright © 2010-2014. All Rights Reserved.