Class LocaleStringConverter
- java.lang.Object
-
- software.amazon.awssdk.enhanced.dynamodb.internal.converter.string.LocaleStringConverter
-
- All Implemented Interfaces:
StringConverter<Locale>
@ThreadSafe @Immutable public class LocaleStringConverter extends Object implements StringConverter<Locale>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LocaleStringConvertercreate()LocalefromString(String string)Convert the provided string into an object.StringtoString(Locale locale)Convert the provided object into a string.EnhancedType<Locale>type()The type supported by this converter.
-
-
-
Method Detail
-
create
public static LocaleStringConverter create()
-
type
public EnhancedType<Locale> type()
Description copied from interface:StringConverterThe type supported by this converter.- Specified by:
typein interfaceStringConverter<Locale>
-
fromString
public Locale fromString(String string)
Description copied from interface:StringConverterConvert the provided string into an object.- Specified by:
fromStringin interfaceStringConverter<Locale>
-
toString
public String toString(Locale locale)
Description copied from interface:StringConverterConvert the provided object into a string.- Specified by:
toStringin interfaceStringConverter<Locale>
-
-