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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ByteArrayStringConvertercreate()byte[]fromString(String string)Convert the provided string into an object.StringtoString(byte[] object)Convert the provided object into a string.EnhancedType<byte[]>type()The type supported by this converter.
-
-
-
Method Detail
-
create
public static ByteArrayStringConverter create()
-
type
public EnhancedType<byte[]> type()
Description copied from interface:StringConverterThe type supported by this converter.- Specified by:
typein interfaceStringConverter<byte[]>
-
toString
public String toString(byte[] object)
Description copied from interface:StringConverterConvert the provided object into a string.- Specified by:
toStringin interfaceStringConverter<byte[]>
-
fromString
public byte[] fromString(String string)
Description copied from interface:StringConverterConvert the provided string into an object.- Specified by:
fromStringin interfaceStringConverter<byte[]>
-
-