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:StringConverterThe type supported by this converter.- Specified by:
typein interfaceStringConverter<char[]>
-
toString
Description copied from interface:StringConverterConvert the provided object into a string.- Specified by:
toStringin interfaceStringConverter<char[]>
-
fromString
Description copied from interface:StringConverterConvert the provided string into an object.- Specified by:
fromStringin interfaceStringConverter<char[]>
-