Package com.mongodb.gridfs

Examples of com.mongodb.gridfs.GridFSInputFile.save()


    Assert.notNull(metadata);

    GridFSInputFile file = getGridFs().createFile(content);
    file.setFilename(filename);
    file.setMetaData(metadata);
    file.save();

    return file;
  }

  /*
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.