public class DefaultDBDecoder extends BasicBSONDecoder implements DBDecoder
| 限定符和类型 | 字段和说明 |
|---|---|
static DBDecoderFactory |
FACTORY |
| 构造器和说明 |
|---|
DefaultDBDecoder() |
| 限定符和类型 | 方法和说明 |
|---|---|
DBObject |
decode(byte[] bytes,
DBCollection collection)
Decode a single DBObject belonging to the given collection from the given array of bytes.
|
DBObject |
decode(java.io.InputStream input,
DBCollection collection)
Decode a single DBObject belonging to the given collection from the given input stream.
|
DBCallback |
getDBCallback(DBCollection collection)
Get a callback for the given collection.
|
java.lang.String |
toString() |
decode, decode, readObject, readObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdecode, decode, readObject, readObjectpublic static final DBDecoderFactory FACTORY
public DBCallback getDBCallback(DBCollection collection)
DBDecodergetDBCallback 在接口中 DBDecodercollection - the collectionpublic DBObject decode(java.io.InputStream input, DBCollection collection) throws java.io.IOException
DBDecoderpublic DBObject decode(byte[] bytes, DBCollection collection)
DBDecoderpublic java.lang.String toString()
toString 在类中 java.lang.Object