public class LocaleStringConverter extends Object implements TypeConverter<Locale,String>
LOCALISER
Constructor and Description |
---|
LocaleStringConverter() |
Modifier and Type | Method and Description |
---|---|
String |
toDatastoreType(Locale loc)
Method to convert the passed member value to the datastore type.
|
Locale |
toMemberType(String str)
Method to convert the passed datastore value to the member type.
|
public Locale toMemberType(String str)
TypeConverter
toMemberType
in interface TypeConverter<Locale,String>
str
- Value from the datastorepublic String toDatastoreType(Locale loc)
TypeConverter
toDatastoreType
in interface TypeConverter<Locale,String>
loc
- Value from the memberCopyright © 2021. All rights reserved.