Example usage for Java org.springframework.data.mongodb.gridfs GridFsResource fields, constructors, methods, implement or subclass
The text is from its open source code.
GridFsResource(String filename) Creates a new, absent GridFsResource . | |
GridFsResource(GridFSFile file) Creates a new GridFsResource from the given GridFSFile . |
long | contentLength() |
String | getContentType() Returns the Resource 's content type. |
String | getFilename() |
Object | getId() Returns the Resource 's id. |
InputStream | getInputStream() |
long | lastModified() |