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