As i can see java mongo driver does not provide capability to get OutputStream
from existing gridFS file com.mongodb.gridfs.GridFSFile
I have to create GridFSInputFile
directly or use gridFs.createFile()
method.
Is it a lack of java driver or a restriction of gridfs ?
Could you suggest any workaround except create new file/delete old one ?
Thank you
See Question&Answers more detail:os