Class StringToBestMatchingLocaleConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter<java.lang.String,​java.util.Locale>

    public class StringToBestMatchingLocaleConverter
    extends java.lang.Object
    implements org.springframework.core.convert.converter.Converter<java.lang.String,​java.util.Locale>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Locale convert​(java.lang.String isoCode)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.core.convert.converter.Converter

        andThen
    • Constructor Detail

      • StringToBestMatchingLocaleConverter

        public StringToBestMatchingLocaleConverter​(I18NService i18NService)
    • Method Detail

      • convert

        public java.util.Locale convert​(java.lang.String isoCode)
        Specified by:
        convert in interface org.springframework.core.convert.converter.Converter<java.lang.String,​java.util.Locale>