org.apache.camel.converter
Class CollectionConverter

java.lang.Object
  extended by org.apache.camel.converter.CollectionConverter

public class CollectionConverter
extends Object

Some core java.util Collection based Type Converters

Version:
$Revision: 524215 $

Constructor Summary
CollectionConverter()
           
 
Method Summary
static Object[] toArray(Collection value)
          Converts a collection to an array
static List toList(Object[] array)
          Converts an array to a collection
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
 

Constructor Detail

CollectionConverter

public CollectionConverter()
Method Detail

toArray

public static Object[] toArray(Collection value)
Converts a collection to an array


toList

public static List toList(Object[] array)
Converts an array to a collection


toSet

public static Set toSet(Object[] array)

toSet

public static Set toSet(Collection collection)

toSet

public static Set toSet(Map map)


Copyright © 2007 Apache Software Foundation. All Rights Reserved.