Java com.mongodb.client.gridfs GridFSUploadStream fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.client.gridfs GridFSUploadStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.client.gridfs GridFSUploadStream.

The text is from its open source code.

Method

voidclose()
ObjectIdgetFileId()
Gets the ObjectId for the file to be uploaded Throws a com.mongodb.MongoGridFSException if the file id is not an ObjectId.
voidwrite(byte[] b, int off, int len)
voidwrite(int b)
voidwrite(byte[] b)