Class StringToTwoLetterCountryCodeConverter

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

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

      • StringToTwoLetterCountryCodeConverter

        public StringToTwoLetterCountryCodeConverter()
    • Method Detail

      • convert

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