java.lang.Object
org.apache.johnzon.mapper.converter.LocaleConverter
- All Implemented Interfaces:
Adapter<Locale,,String> MapperConverter,TypeAwareAdapter<Locale,String>
-
Field Details
-
key
-
-
Constructor Details
-
LocaleConverter
public LocaleConverter()
-
-
Method Details
-
getTo
- Specified by:
getToin interfaceTypeAwareAdapter<Locale,String>
-
getFrom
- Specified by:
getFromin interfaceTypeAwareAdapter<Locale,String>
-
getKey
- Specified by:
getKeyin interfaceTypeAwareAdapter<Locale,String>
-
from
Description copied from interface:AdapterTake the POJO_TYPE object A from a POJO an convert it to JSON_TYPE which will be inserted into the JSON output. -
to
Description copied from interface:AdapterTransfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-