Package org.apache.ofbiz.base.conversion
Class CollectionConverters.MapToList<K,V>
- java.lang.Object
-
- org.apache.ofbiz.base.conversion.AbstractConverter<java.util.Map<K,V>,java.util.List<java.util.Map<K,V>>>
-
- org.apache.ofbiz.base.conversion.CollectionConverters.MapToList<K,V>
-
- All Implemented Interfaces:
Converter<java.util.Map<K,V>,java.util.List<java.util.Map<K,V>>>
,ConverterLoader
- Enclosing class:
- CollectionConverters
public static class CollectionConverters.MapToList<K,V> extends AbstractConverter<java.util.Map<K,V>,java.util.List<java.util.Map<K,V>>>
-
-
Constructor Summary
Constructors Constructor Description MapToList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.Map<K,V>>
convert(java.util.Map<K,V> obj)
Convertsobj
toT
.-
Methods inherited from class org.apache.ofbiz.base.conversion.AbstractConverter
canConvert, convert, getSourceClass, getTargetClass, loadConverters
-
-
-
-
Method Detail
-
convert
public java.util.List<java.util.Map<K,V>> convert(java.util.Map<K,V> obj) throws ConversionException
Description copied from interface:Converter
Convertsobj
toT
.- Parameters:
obj
- The sourceObject
to convert- Returns:
- The converted
Object
- Throws:
ConversionException
-
-