Class LocaleConverter

java.lang.Object
org.modelmapper.AbstractConverter<Locale,Locale>
com.broadleafcommerce.common.extension.mapping.LocaleConverter
All Implemented Interfaces:
org.modelmapper.Converter<Locale,Locale>

public class LocaleConverter extends org.modelmapper.AbstractConverter<Locale,Locale>
A converter to help inform ModelMapper how to convert locales.
Author:
Chad Harchar (charchar)
  • Constructor Details

    • LocaleConverter

      public LocaleConverter()
  • Method Details

    • convert

      public Locale convert(Locale source)
      Specified by:
      convert in class org.modelmapper.AbstractConverter<Locale,Locale>