Class LocaleLanguageKeyStringConverter

java.lang.Object
com.appjars.i18nmanager.vaadin.converter.LocaleLanguageKeyStringConverter
All Implemented Interfaces:
com.vaadin.flow.data.converter.Converter<Locale,String>, Serializable

public class LocaleLanguageKeyStringConverter extends Object implements com.vaadin.flow.data.converter.Converter<Locale,String>
See Also:
  • Constructor Details

    • LocaleLanguageKeyStringConverter

      public LocaleLanguageKeyStringConverter()
  • Method Details

    • convertToModel

      public com.vaadin.flow.data.binder.Result<String> convertToModel(Locale value, com.vaadin.flow.data.binder.ValueContext context)
      Specified by:
      convertToModel in interface com.vaadin.flow.data.converter.Converter<Locale,String>
    • convertToPresentation

      public Locale convertToPresentation(String value, com.vaadin.flow.data.binder.ValueContext context)
      Specified by:
      convertToPresentation in interface com.vaadin.flow.data.converter.Converter<Locale,String>