Examples of load()


Examples of com.github.maven_nar.cpptasks.DependencyTable.load()

        String tmpDir = System.getProperty("java.io.tmpdir");
        try {
            copyResourceToTmpDir("openshore/dependencies.xml",
                    "dependencies.xml");
            DependencyTable dependencies = new DependencyTable(new File(tmpDir));
            dependencies.load();
        } finally {
            deleteTmpFile("dependencies.xml");
        }
    }
    /**
 
View Full Code Here

Examples of com.goodow.realtime.store.channel.OperationSucker.load()

  protected void onLoaded(String id, Handler<Model> opt_initializer, double version,
      DocumentBridge bridge) {
    bridge.setUndoEnabled(true);

    OperationSucker operationSucker = new OperationSucker(bus, id);
    operationSucker.load(bridge, version);
  }
}
View Full Code Here

Examples of com.goodow.realtime.store.impl.MemoryStore.load()

  public void start() {
    initialize();
    VertxPlatform.register(vertx);

    Store store = new MemoryStore();
    store.load("docId", new Handler<Document>() {
      @Override
      public void handle(Document doc) {
        mod = doc.getModel();
        str = mod.createString(null);
View Full Code Here

Examples of com.google.code.gaeom.ObjectStoreSession.load()

    ObjectStoreSession sess1 = store.beginSession();
    sess1.store(root).now();
    Key key = sess1.getKey(child2);

    ObjectStoreSession sess2 = store.beginSession();
    Node child2a = sess2.load(key).activate("**.children", "**.parent", "!**.parent.children").now();

    assertEquals(child2.name, child2a.name);
    assertEquals(child2.children.size(), child2a.children.size());
    assertEquals(child2.children.get(0).name, child2a.children.get(0).name);
    assertEquals(child2.children.get(1).name, child2a.children.get(1).name);
View Full Code Here

Examples of com.google.code.twig.ObjectDatastore.load()

      Queue queue = QueueFactory.getDefaultQueue();
      queue.deleteTask(id);
     
      // remove stored task
      ObjectDatastore datastore = new AnnotationObjectDatastore();
      GaeTask storedTask = datastore.load(GaeTask.class, id);
      if (storedTask != null) {
        datastore.delete(storedTask);
      }     
    }
   
View Full Code Here

Examples of com.google.code.twig.annotation.AnnotationObjectDatastore.load()

      Queue queue = QueueFactory.getDefaultQueue();
      queue.deleteTask(id);
     
      // remove stored task
      ObjectDatastore datastore = new AnnotationObjectDatastore();
      GaeTask storedTask = datastore.load(GaeTask.class, id);
      if (storedTask != null) {
        datastore.delete(storedTask);
      }     
    }
   
View Full Code Here

Examples of com.google.devtools.depan.eclipse.persist.GraphModelXmlPersist.load()

    loadedGraphs.put(file.getFullPath(), graph);
  }

  public static GraphDocument loadGraphDocument(IFile file) {
    GraphModelXmlPersist loader = new GraphModelXmlPersist();
    return loader.load(file.getRawLocationURI());
  }

  public static void saveGraphDocument(IFile file, GraphDocument graph)
      throws CoreException {
    GraphModelXmlPersist loader = new GraphModelXmlPersist();
View Full Code Here

Examples of com.google.devtools.depan.eclipse.persist.ObjectXmlPersist.load()

   */
  private static ViewDocument loadViewDocument(IFile viewFile)
      throws IOException {
    ObjectXmlPersist persist =
        new ObjectXmlPersist(XStreamFactory.getSharedRefXStream());
    return (ViewDocument) persist.load(viewFile.getRawLocationURI());
  }

  /**
   * Save a view document to a file.
   */
 
View Full Code Here

Examples of com.google.devtools.depan.eclipse.persist.XmlPersistentPathExpression.load()

    }

    XmlPersistentPathExpression persist = new XmlPersistentPathExpression();
    PathMatcherTerm[] list = new PathMatcherTerm[0];
    try {
      list = persist.load(new URI("file://" + filePath));
    } catch (URISyntaxException e) {
      System.err.println("Malformed URI! Check the filename!");
      e.printStackTrace();
    }
View Full Code Here

Examples of com.google.gerrit.server.git.ProjectConfig.load()

  private void createProjectConfig() throws IOException, ConfigInvalidException {
    final MetaDataUpdate md =
        metaDataUpdateFactory.create(createProjectArgs.getProject());
    try {
      final ProjectConfig config = ProjectConfig.read(md);
      config.load(md);

      Project newProject = config.getProject();
      newProject.setDescription(createProjectArgs.projectDescription);
      newProject.setSubmitType(createProjectArgs.submitType);
      newProject
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.