com.mongodb.gridfs
Class GridFSInputFile

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

public class GridFSInputFile
extends GridFSFile


Field Summary
 
Fields inherited from class com.mongodb.gridfs.GridFSFile
_fs
 
Method Summary
 DBObject getMetaData()
           
 void save()
           
 void save(int chunkSize)
           
 int saveChunks()
           
 int saveChunks(int chunkSize)
           
 void setContentType(String ct)
           
 void setFilename(String fn)
           
 
Methods inherited from class com.mongodb.gridfs.GridFSFile
containsField, containsKey, get, getAliases, getChunkSize, getContentType, getFilename, getId, getLength, getMD5, getUploadDate, isPartialObject, keySet, markAsPartialObject, numChunks, put, putAll, putAll, removeField, setGridFS, toMap, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMetaData

public DBObject getMetaData()
Overrides:
getMetaData in class GridFSFile

setFilename

public void setFilename(String fn)

setContentType

public void setContentType(String ct)

save

public void save()
Overrides:
save in class GridFSFile

save

public void save(int chunkSize)

saveChunks

public int saveChunks()
               throws IOException
Throws:
IOException

saveChunks

public int saveChunks(int chunkSize)
               throws IOException
Throws:
IOException