@@ -0,0 +1,336 @@
+/**%0A * %0A */%0Apackage cn.strong.leke.data.mongo.convert;%0A%0A/**%0A * BSON %E8%BD%AC%E6%8D%A2%E5%99%A8%E6%8E%A5%E5%8F%A3%0A * %0A * @author liulongbiao%0A *%0A */%0Apublic interface BsonConverter %7B%0A%09/**%0A%09 * %E8%BD%AC%E6%8D%A2%E4%B8%BA BSON %E7%B1%BB%E5%9E%8B%0A%09 * %0A%09 * @param obj%0A%09 * @return%0A%09 */%0A%09Object toBSON(Object obj);%0A%0A%09/**%0A%09 * %E8%BD%AC%E6%8D%A2%E8%87%AA BSON %E7%B1%BB%E5%9E%8B%0A%09 * %0A%09 * @param obj%0A%09 * @return%0A%09 */%0A%09%3CR%3E R fromBSON(Object source, Class%3CR%3E clazz);%0A%7D%0A

添加 BsonConverter