|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.converter.CollectionConverter
@Converter public final class CollectionConverter
Some core java.util Collection based Type Converters
Method Summary | |
---|---|
static Object[] |
toArray(Collection value)
Converts a collection to an array |
static ArrayList |
toArrayList(Iterator it)
Converts an Iterator to a ArrayList |
static HashMap |
toHashMap(Map map)
|
static Hashtable |
toHashtable(Map map)
|
static List |
toList(Collection collection)
Converts a collection to a List if it is not already |
static List |
toList(Iterable iterable)
Converts an Iterable into a List |
static List |
toList(Object[] array)
Converts an array to a collection |
static Properties |
toProperties(Map map)
|
static Set |
toSet(Collection collection)
|
static Set |
toSet(Map map)
|
static Set |
toSet(Object[] array)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@Converter public static Object[] toArray(Collection value)
@Converter public static List toList(Object[] array)
@Converter public static List toList(Collection collection)
@Converter public static ArrayList toArrayList(Iterator it)
Iterator
to a ArrayList
@Converter public static Set toSet(Object[] array)
@Converter public static Set toSet(Collection collection)
@Converter public static Set toSet(Map map)
@Converter public static Properties toProperties(Map map)
@Converter public static Hashtable toHashtable(Map map)
@Converter public static HashMap toHashMap(Map map)
@Converter public static List toList(Iterable iterable)
Iterable
into a List
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |