com.mongodb.gridfs
Class GridFSDBFile

java.lang.Object
  extended by com.mongodb.gridfs.GridFSFile
      extended by com.mongodb.gridfs.GridFSDBFile
All Implemented Interfaces:
DBObject, BSONObject

public class GridFSDBFile
extends GridFSFile


Field Summary
 
Fields inherited from class com.mongodb.gridfs.GridFSFile
_fs
 
Constructor Summary
GridFSDBFile()
           
 
Method Summary
 InputStream getInputStream()
           
 long writeTo(File f)
           
 long writeTo(OutputStream out)
           
 long writeTo(String filename)
           
 
Methods inherited from class com.mongodb.gridfs.GridFSFile
containsField, containsKey, get, getAliases, getChunkSize, getContentType, getFilename, getId, getLength, getMD5, getMetaData, getUploadDate, isPartialObject, keySet, markAsPartialObject, numChunks, put, putAll, putAll, removeField, save, setGridFS, toMap, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridFSDBFile

public GridFSDBFile()
Method Detail

getInputStream

public InputStream getInputStream()

writeTo

public long writeTo(String filename)
             throws IOException
Throws:
IOException

writeTo

public long writeTo(File f)
             throws IOException
Throws:
IOException

writeTo

public long writeTo(OutputStream out)
             throws IOException
Throws:
IOException