TypeConverter<byte[]>@Plugin(name="ByteArray", category="TypeConverter") public static class TypeConverters.ByteArrayConverter extends Object implements TypeConverter<byte[]>
String into a byte[].
The supported formats are:
Charset.defaultCharset() [TODO Should this be UTF-8 instead?]| Constructor | Description |
|---|---|
ByteArrayConverter() |
public byte[] convert(String value)
TypeConverterconvert in interface TypeConverter<byte[]>value - the String to convert. Cannot be null.Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.