Package | Description |
---|---|
com.mongodb.gridfs |
GridFS tools.
|
Modifier and Type | Field and Description |
---|---|
protected GridFS |
GridFSFile._fs
Deprecated.
Please use
GridFSFile.getGridFS() & GridFSFile.setGridFS(GridFS) instead. |
Modifier and Type | Method and Description |
---|---|
protected GridFS |
GridFSFile.getGridFS()
Gets the GridFS associated with this file
|
Modifier and Type | Method and Description |
---|---|
protected void |
GridFSFile.setGridFS(GridFS fs)
Sets the GridFS associated with this file.
|
Constructor and Description |
---|
GridFSInputFile(GridFS fs)
Minimal constructor that does not rely on the presence of an
InputStream . |
GridFSInputFile(GridFS fs,
InputStream in,
String filename)
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
|
GridFSInputFile(GridFS fs,
InputStream in,
String filename,
boolean closeStreamOnPersist)
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
|
GridFSInputFile(GridFS fs,
String filename)
Constructor that only provides a file name, but does not rely on the presence of an
InputStream . |