com.mongodb
public class DefaultDBDecoder extends BasicBSONDecoder implements DBDecoder
BasicBSONDecoder.BSONInput
Modifier and Type | Field and Description |
---|---|
static DBDecoderFactory |
FACTORY |
_callback, _in, _len, _pos
Constructor and Description |
---|
DefaultDBDecoder() |
Modifier and Type | Method and Description |
---|---|
DBObject |
decode(byte[] b,
DBCollection collection) |
DBObject |
decode(java.io.InputStream in,
DBCollection collection) |
DBCallback |
getDBCallback(DBCollection collection) |
java.lang.String |
toString() |
_binary, decode, decode, readObject, readObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
decode, decode, readObject, readObject
public static DBDecoderFactory FACTORY
public DBCallback getDBCallback(DBCollection collection)
getDBCallback
in interface DBDecoder
public DBObject decode(byte[] b, DBCollection collection)
public DBObject decode(java.io.InputStream in, DBCollection collection) throws java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object