Class StringToBestMatchingLocaleConverter

java.lang.Object
de.hybris.platform.adminapi.converters.StringToBestMatchingLocaleConverter
All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,Locale>

public class StringToBestMatchingLocaleConverter extends Object implements org.springframework.core.convert.converter.Converter<String,Locale>
  • Constructor Details

    • StringToBestMatchingLocaleConverter

      public StringToBestMatchingLocaleConverter(I18NService i18NService)
  • Method Details

    • convert

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