Class CharacterStringConverter
- java.lang.Object
- 
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.CharacterStringConverter
 
- 
- All Implemented Interfaces:
- PrimitiveConverter<Character>,- StringConverter<Character>
 
 @ThreadSafe @Immutable public class CharacterStringConverter extends Object implements StringConverter<Character>, PrimitiveConverter<Character> A converter betweenCharacterandString.This converts values using Character.toString()andString.charAt(int). If the string value is longer than 1 character, an exception will be raised.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CharacterStringConvertercreate()CharacterfromString(String string)Convert the provided string into an object.EnhancedType<Character>primitiveType()The type supported by this converter.EnhancedType<Character>type()The type supported by this converter.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface software.amazon.awssdk.enhanced.dynamodb.internal.converter.StringConvertertoString
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static CharacterStringConverter create() 
 - 
typepublic EnhancedType<Character> type() Description copied from interface:StringConverterThe type supported by this converter.- Specified by:
- typein interface- StringConverter<Character>
 
 - 
primitiveTypepublic EnhancedType<Character> primitiveType() Description copied from interface:PrimitiveConverterThe type supported by this converter.- Specified by:
- primitiveTypein interface- PrimitiveConverter<Character>
 
 - 
fromStringpublic Character fromString(String string) Description copied from interface:StringConverterConvert the provided string into an object.- Specified by:
- fromStringin interface- StringConverter<Character>
 
 
- 
 
-