Class ByteArrayToStringConverter
java.lang.Object
org.openwms.common.comm.converter.ByteArrayToStringConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<byte[],
String>
@IntegrationConverter
@Component
class ByteArrayToStringConverter
extends Object
implements org.springframework.core.convert.converter.Converter<byte[],String>
A ByteArrayToStringConverter is a simple byte array to String converter; allowing the character set to be specified.
- Author:
- Heiko Scherrer
-
Field Details
-
charSet
-
-
Constructor Details
-
ByteArrayToStringConverter
ByteArrayToStringConverter()
-
-
Method Details
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<byte[],
String>
-
getCharSet
- Returns:
- the charSet
-
setCharSet
- Parameters:
charSet
- the charSet to set
-