Package org.buildndeploy.server.model

Examples of org.buildndeploy.server.model.FileCollection


 
  public void doPost(HttpServletRequest req, HttpServletResponse res)
      throws ServletException, IOException {
    List<String> uploadedKeys = BlobstoreUtil.processRequest(req);
    if (uploadedKeys.size() > 0) {
      FileCollection fc = FileCollection.get();
      for (String b : uploadedKeys) {
        log.info("Uploaded " + b);
        fc.add(b);
      }
      fc.save();
    } else {
      log.warning("empty upload");
    }
   
    List<BlobInfo> blobInfos = BlobstoreUtil.loadBlobInfos(uploadedKeys);
View Full Code Here

TOP

Related Classes of org.buildndeploy.server.model.FileCollection

Copyright © 2018 www.massapicom. 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.