Package org.parse4j.callback

Examples of org.parse4j.callback.ProgressCallback


  public void uploadPdfWithProgressCallback() {
    System.out.println("uploadPdf(): initializing...");
    try {
      byte[] data = getBytes("/ml-1m.zip");
      ParseFile file = new ParseFile("ml-1m.zip", data);
      file.save(new ProgressCallback() {
       
        @Override
        public void done(Integer percentDone) {
          System.out.println("uploadPdf(): progress " + percentDone + "%");
        }
View Full Code Here

TOP

Related Classes of org.parse4j.callback.ProgressCallback

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.