Class StringToTwoLetterLanguageCodeConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<String,​org.bremersee.common.model.TwoLetterLanguageCode>
    Direct Known Subclasses:
    TwoLetterLanguageCodeReadConverter

    public class StringToTwoLetterLanguageCodeConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<String,​org.bremersee.common.model.TwoLetterLanguageCode>
    The string to two letter language code converter.
    Author:
    Christian Bremer
    • Constructor Detail

      • StringToTwoLetterLanguageCodeConverter

        public StringToTwoLetterLanguageCodeConverter()
    • Method Detail

      • convert

        public org.bremersee.common.model.TwoLetterLanguageCode convert​(@NonNull
                                                                        String source)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<String,​org.bremersee.common.model.TwoLetterLanguageCode>