Class StringToLocaleConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<String,​Locale>
    Direct Known Subclasses:
    LocaleReadConverter

    public class StringToLocaleConverter
    extends Object
    implements org.springframework.core.convert.converter.Converter<String,​Locale>
    The string to locale converter.
    Author:
    Christian Bremer
    • Constructor Detail

      • StringToLocaleConverter

        public StringToLocaleConverter()
    • Method Detail

      • convert

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