org.apache.camel.component.mongodb.converters
Class MongoDbBasicConverters

java.lang.Object
  extended by org.apache.camel.component.mongodb.converters.MongoDbBasicConverters

@Converter
public final class MongoDbBasicConverters
extends Object


Method Summary
static com.mongodb.DBObject fromAnyObjectToDBObject(Object value)
           
static Map<String,Object> fromBasicDBObjectToMap(com.mongodb.BasicDBObject basicDbObject)
           
static com.mongodb.DBObject fromFileToDBObject(File f, org.apache.camel.Exchange exchange)
           
static com.mongodb.DBObject fromInputStreamToDBObject(InputStream is, org.apache.camel.Exchange exchange)
           
static com.mongodb.DBObject fromMapToDBObject(Map<?,?> map)
           
static com.mongodb.DBObject fromStringToDBObject(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fromMapToDBObject

@Converter
public static com.mongodb.DBObject fromMapToDBObject(Map<?,?> map)

fromBasicDBObjectToMap

@Converter
public static Map<String,Object> fromBasicDBObjectToMap(com.mongodb.BasicDBObject basicDbObject)

fromStringToDBObject

@Converter
public static com.mongodb.DBObject fromStringToDBObject(String s)

fromFileToDBObject

@Converter
public static com.mongodb.DBObject fromFileToDBObject(File f,
                                                                org.apache.camel.Exchange exchange)
                                               throws FileNotFoundException
Throws:
FileNotFoundException

fromInputStreamToDBObject

@Converter
public static com.mongodb.DBObject fromInputStreamToDBObject(InputStream is,
                                                                       org.apache.camel.Exchange exchange)

fromAnyObjectToDBObject

@Converter
public static com.mongodb.DBObject fromAnyObjectToDBObject(Object value)


Apache Camel