org.apache.camel.component.mongodb.converters
Class MongoDbBasicConverters
java.lang.Object
org.apache.camel.component.mongodb.converters.MongoDbBasicConverters
@Converter
public final class MongoDbBasicConverters
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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