Class ByteArrayStringConverter
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.ByteArrayStringConverter
- All Implemented Interfaces:
StringConverter<byte[]>
@ThreadSafe
@Immutable
public class ByteArrayStringConverter
extends Object
implements StringConverter<byte[]>
-
Method Summary
Modifier and TypeMethodDescriptionstatic ByteArrayStringConverter
create()
byte[]
fromString
(String string) Convert the provided string into an object.toString
(byte[] object) Convert the provided object into a string.EnhancedType
<byte[]> type()
The type supported by this converter.
-
Method Details
-
create
-
type
Description copied from interface:StringConverter
The type supported by this converter.- Specified by:
type
in interfaceStringConverter<byte[]>
-
toString
Description copied from interface:StringConverter
Convert the provided object into a string.- Specified by:
toString
in interfaceStringConverter<byte[]>
-
fromString
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<byte[]>
-