com.mongodb
Class DefaultDBDecoder
java.lang.Object
org.bson.BasicBSONDecoder
com.mongodb.DefaultDBDecoder
- All Implemented Interfaces:
- DBDecoder, BSONDecoder
public class DefaultDBDecoder
- extends BasicBSONDecoder
- implements DBDecoder
- Author:
- antoine
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FACTORY
public static DBDecoderFactory FACTORY
DefaultDBDecoder
public DefaultDBDecoder()
getDBCallback
public DBCallback getDBCallback(DBCollection collection)
- Specified by:
getDBCallback
in interface DBDecoder
decode
public DBObject decode(byte[] b,
DBCollection collection)
- Specified by:
decode
in interface DBDecoder
decode
public DBObject decode(InputStream in,
DBCollection collection)
throws IOException
- Specified by:
decode
in interface DBDecoder
- Throws:
IOException