Class LanguagePopulator<SOURCE extends LanguageModel,TARGET extends LanguageData>
- java.lang.Object
-
- de.hybris.platform.commercefacades.storesession.converters.populator.LanguagePopulator<SOURCE,TARGET>
-
- All Implemented Interfaces:
Populator<SOURCE,TARGET>
public class LanguagePopulator<SOURCE extends LanguageModel,TARGET extends LanguageData> extends java.lang.Object implements Populator<SOURCE,TARGET>
-
-
Constructor Summary
Constructors Constructor Description LanguagePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(SOURCE source, TARGET target)Populate the target instance with values from the source instance.protected java.util.LocaletoLocale(LanguageModel source)
-
-
-
Method Detail
-
populate
public void populate(SOURCE source, TARGET target)
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<SOURCE extends LanguageModel,TARGET extends LanguageData>- Parameters:
source- the source objecttarget- the target to fill
-
toLocale
protected java.util.Locale toLocale(LanguageModel source)
-
-