@ThreadSafe @Immutable public class ByteArrayStringConverter extends Object implements StringConverter<byte[]>
Modifier and Type | Method and Description |
---|---|
static ByteArrayStringConverter |
create() |
byte[] |
fromString(String string)
Convert the provided string into an object.
|
String |
toString(byte[] object)
Convert the provided object into a string.
|
EnhancedType<byte[]> |
type()
The type supported by this converter.
|
public static ByteArrayStringConverter create()
public EnhancedType<byte[]> type()
StringConverter
type
in interface StringConverter<byte[]>
public String toString(byte[] object)
StringConverter
toString
in interface StringConverter<byte[]>
public byte[] fromString(String string)
StringConverter
fromString
in interface StringConverter<byte[]>
Copyright © 2022. All rights reserved.