public final class GridFSDownloadOptions extends Object
Controls the selection of the revision to download
| Constructor and Description | 
|---|
| GridFSDownloadOptions()Download the most recent version of the file. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getRevision()Gets the revision to download identifier | 
| GridFSDownloadOptions | revision(int revision)Set the revision of the file to retrieve. | 
public GridFSDownloadOptions()
Defaults to the most recent revision.
public GridFSDownloadOptions revision(int revision)
Revision numbers are defined as follows:
revision - the file revision to downloadpublic int getRevision()