Package | Description |
---|---|
com.mongodb.gridfs |
Contains the classes for supporting MongoDB's specification for storing very large files, GridFS.
|
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 gridFS)
Minimal constructor that does not rely on the presence of an
InputStream . |
GridFSInputFile(GridFS gridFS,
InputStream inputStream,
String filename)
Default constructor setting the GridFS file name and providing an input stream containing data to be written to the file.
|
GridFSInputFile(GridFS gridFS,
InputStream inputStream,
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 gridFS,
String filename)
Constructor that only provides a file name, but does not rely on the presence of an
InputStream . |
Copyright © 2017. All rights reserved.