Class CharacterArrayStringConverter
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.CharacterArrayStringConverter
- All Implemented Interfaces:
StringConverter<char[]>
@ThreadSafe
@Immutable
public class CharacterArrayStringConverter
extends Object
implements StringConverter<char[]>
A converter between
char[]
and String
.
This converts values using String(char[])
and String.toCharArray()
.
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
char[]
fromString
(String string) Convert the provided string into an object.toString
(char[] object) Convert the provided object into a string.EnhancedType
<char[]> 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<char[]>
-
toString
Description copied from interface:StringConverter
Convert the provided object into a string.- Specified by:
toString
in interfaceStringConverter<char[]>
-
fromString
Description copied from interface:StringConverter
Convert the provided string into an object.- Specified by:
fromString
in interfaceStringConverter<char[]>
-