Java com.mongodb.gridfs GridFSFile fields, constructors, methods, implement or subclass

Example usage for Java com.mongodb.gridfs GridFSFile fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.mongodb.gridfs GridFSFile.

The text is from its open source code.

Method

StringgetContentType()
Gets the content type.
StringgetFilename()
Gets the filename.
ObjectgetId()
Gets the id.
longgetLength()
Gets the file's length.
StringgetMD5()
Gets the observed MD5 during transfer
DBObjectgetMetaData()
Gets the file metadata.
DategetUploadDate()
Gets the upload date.
Objectput(final String key, final Object v)
voidsave()
Saves the file entry to the files collection
voidsetMetaData(final DBObject metadata)
Gets the file metadata.
StringtoString()