Examples of runForPages()


Examples of edu.scripps.mwsync.Sync.runForPages()

      Sync sync = Sync.newFromConfigFile(root+"sync.conf");
      String ncboAPIKey   = sync.getProperties().getProperty("ncbo.api.key");
      String doidFile    = sync.getProperties().getProperty("doid.file");
      sync.addRewriter(new GeneWikiEditor(root, ncboAPIKey, doidFile));
      if (options.hasArgument("p")) {
        sync.runForPages((String) options.valueOf("p"));
      } else if (options.hasArgument("h")) {
        sync.runChangesFromHoursAgo((Integer)options.valueOf("h"));
      } else {
        sync.run();
      }
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.