GridFSDownloadOptions instead.@Deprecated
public final class GridFSDownloadByNameOptions
extends java.lang.Object
Controls the selection of the revision to download
| 构造器和说明 |
|---|
GridFSDownloadByNameOptions()
已过时。
Download the most recent version of the file.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getRevision()
已过时。
Gets the revision to download identifier
|
GridFSDownloadByNameOptions |
revision(int revision)
已过时。
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()