Codec<BsonDateTime>
, Decoder<BsonDateTime>
, Encoder<BsonDateTime>
A Codec for BsonDateTime instances.
Constructors
Decodes a BSON value from the given reader into an instance of the type parameter T
.
void
Encode an instance of the type parameter T
into a BSON value.
Returns the Class instance that this encodes.
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public BsonDateTimeCodec()
Decoder
Decodes a BSON value from the given reader into an instance of the type parameter T
.
decode
in interface Decoder<BsonDateTime>
reader
- the BSON reader
decoderContext
- the decoder context
T
.
Encoder
Encode an instance of the type parameter T
into a BSON value.
encode
in interface Encoder<BsonDateTime>
writer
- the BSON writer to encode into
value
- the value to encode
encoderContext
- the encoder context
Encoder
Returns the Class instance that this encodes. This is necessary because Java does not reify generic types.
getEncoderClass
in interface Encoder<BsonDateTime>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4