Package | Description |
---|---|
org.bson |
Contains the base BSON classes.
|
org.bson.types |
Contains classes implementing various BSON types.
|
Modifier and Type | Method and Description |
---|---|
static BsonBinarySubType |
BsonBinarySubType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BsonBinarySubType[] |
BsonBinarySubType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BsonBinary(BsonBinarySubType type,
byte[] data)
Construct a new instance with the given data and binary sub type.
|
Constructor and Description |
---|
Binary(BsonBinarySubType type,
byte[] data)
Creates a Binary with the specified type and data.
|