Package | Description |
---|---|
com.mongodb.client.gridfs |
This package contains the new GridFS implementation
|
com.mongodb.client.gridfs.model |
This package contains models for use with GridFS
|
Modifier and Type | Method and Description |
---|---|
void |
GridFSBucket.downloadToStreamByName(String filename,
OutputStream destination,
GridFSDownloadByNameOptions options)
Downloads the contents of the stored file specified by
filename and by the revision in options and writes the
contents to the destination Stream. |
GridFSDownloadStream |
GridFSBucket.openDownloadStreamByName(String filename,
GridFSDownloadByNameOptions options)
Opens a Stream from which the application can read the contents of the stored file specified by
filename and the revision
in options . |
Modifier and Type | Method and Description |
---|---|
GridFSDownloadByNameOptions |
GridFSDownloadByNameOptions.revision(int revision)
Set the revision of the file to retrieve.
|
Copyright © 2016. All Rights Reserved.