public class DefaultDBEncoder extends BasicBSONEncoder implements DBEncoder
Modifier and Type | Field and Description |
---|---|
static DBEncoderFactory |
FACTORY |
Constructor and Description |
---|
DefaultDBEncoder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
int |
writeObject(OutputBuffer outputBuffer,
BSONObject document)
Encode the BSONObject.
|
done, encode, putObject, set
public static final DBEncoderFactory FACTORY
public int writeObject(OutputBuffer outputBuffer, BSONObject document)
DBEncoder
writeObject
in interface DBEncoder
outputBuffer
- the OutputBuffer to write todocument
- the BSONObject to writepublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved