Java org.springframework.data.mongodb.gridfs GridFsResource fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.data.mongodb.gridfs GridFsResource fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.data.mongodb.gridfs GridFsResource.

The text is from its open source code.

Constructor

GridFsResource(String filename)
Creates a new, absent GridFsResource .
GridFsResource(GridFSFile file)
Creates a new GridFsResource from the given GridFSFile .

Method

longcontentLength()
StringgetContentType()
Returns the Resource 's content type.
StringgetFilename()
ObjectgetId()
Returns the Resource 's id.
InputStreamgetInputStream()
longlastModified()