Examples of loadData()


Examples of org.ejbca.core.model.services.ServiceConfiguration.loadData()

      decoder.close();
      // Handle Base64 encoded string values
      HashMap data = new Base64GetHashMap(h);
      float oldversion = ((Float) data.get(UpgradeableDataHashMap.VERSION)).floatValue();
      ServiceConfiguration serviceConfiguration = new ServiceConfiguration();
      serviceConfiguration.loadData(data);
      if ( ((serviceConfiguration != null) && (Float.compare(oldversion, serviceConfiguration.getVersion()) != 0))) {
        // Upgrade in version 4 of ServiceConfiguration. If we do not have nextRunTimeStamp and runTimeStamp set in
        // the database, but we have them in serviceConfiguration, we will simply copy the values over.
        // After this we will not use the values in ServiceConfiguration any more
        final String NEXTRUNTIMESTAMP = "NEXTRUNTIMESTAMP";
View Full Code Here

Examples of org.jboss.serial.objectmetamodel.DataContainer.loadData()

    public Object readObjectUsingDataContainer() throws IOException,
            ClassNotFoundException
    {
        DataContainer container = new DataContainer(classLoader,false,buffer);
        container.setClassResolver(resolver);
        container.loadData(dis);
        ObjectInput input = container.getInput();
        return input.readObject();
    }

    public Object readObjectOverride() throws IOException,
View Full Code Here

Examples of org.pokenet.server.backend.map.ServerMap.loadData()

        nextMap = new File("res/maps/" + String.valueOf(x) + "." + String.valueOf(y) + ".tmx");
        if(nextMap.exists()) {
          try {
            s = new ServerMap(loader.readMap(nextMap.getCanonicalPath()), x, y);
            s.setMapMatrix(m_mapMatrix);
            s.loadData();
            m_mapMatrix.setMap(s , x + 50, y + 50);
            Thread.sleep(100);
          } catch (Exception e) {
            System.err.println("Error loading " + x + "." + y + ".tmx - Bad map file");
            m_mapMatrix.setMap(null, x + 50, y + 50);
View Full Code Here

Examples of org.xilaew.jampl.JAMPL.loadData()

  public static void main(String[] args) throws IOException {
    JAMPL jampl = AmplFactory.createJAMPL();
    jampl.setSolver("cplex");
    jampl.loadModel("output/assignment.mod");
    jampl.loadData("output/assignment0.dat");
    SolveResult result = jampl.solve();
    printResult(result);
    jampl.setSolver("couenne");
    printResult(jampl.solve());
    System.out.println("found a result!");
View Full Code Here

Examples of pl.net.bluesoft.rnd.processtool.ui.widgets.ProcessToolActionButton.loadData()

    buttonLayout.setWidth(100, Sizeable.UNITS_PERCENTAGE);

    for (final ProcessStateAction a : actionList) {
      final ProcessToolActionButton actionButton = makeButton(a);
      actionButton.setEnabled(isOwner);
      actionButton.loadData(task);
      actionButton.setActionCallback(actionCallback);
      if (actionButton instanceof ProcessToolVaadinRenderable) {
        buttonLayout.addComponent(((ProcessToolVaadinRenderable) actionButton).render());
      }
    }
View Full Code Here

Examples of prefuse.data.io.sql.DatabaseDataSource.loadData()

                    host, database, user, password);
           
            s_logger.info(TestConfig.memUse());
           
            t = db.getData(t, query1, keyField);
            db.loadData(t, query2, keyField);
           
        } catch ( Exception e ) {
            e.printStackTrace();
            fail("Error connecting to database");
        }
View Full Code Here

Examples of statechum.analysis.learning.Smt.loadData()

  {
    Smt solver = getSolver();
    solver.pushContext();
    String whatToCheck = LabelRepresentation.getAssertionFromVarAndAxiom(variableDeclarations,condition);
    //System.err.println("CHECK: "+whatToCheck);
    solver.loadData(whatToCheck);
    boolean outcome = solver.check();
    solver.popContext();return outcome;   
  }
 
  /** Extracts an ID of a supplied vertex. */
 
View Full Code Here

Examples of statechum.analysis.learning.Smt.loadData()

  {
    Smt solver = getSolver();
    solver.pushContext();
    String whatToCheck = SmtLabelRepresentation.getAssertionFromVarAndAxiom(variableDeclarations,condition);
    //System.err.println("CHECK: "+whatToCheck);
    solver.loadData(whatToCheck);
    boolean outcome = solver.check();
    solver.popContext();return outcome;   
  }
 
  /** Extracts an ID of a supplied vertex. */
 
View Full Code Here

Examples of statechum.analysis.learning.Smt.loadData()

  {
    Smt solver = getSolver();
    solver.pushContext();
    String whatToCheck = SmtLabelRepresentation.getAssertionFromVarAndAxiom(variableDeclarations,condition);
    //System.err.println("CHECK: "+whatToCheck);
    solver.loadData(whatToCheck);
    boolean outcome = solver.check();
    solver.popContext();return outcome;   
  }
 
  /** Extracts an ID of a supplied vertex. */
 
View Full Code Here

Examples of statechum.analysis.learning.Smt.loadData()

  {
    Smt solver = getSolver();
    solver.pushContext();
    String whatToCheck = SmtLabelRepresentation.getAssertionFromVarAndAxiom(variableDeclarations,condition);
    //System.err.println("CHECK: "+whatToCheck);
    solver.loadData(whatToCheck);
    boolean outcome = solver.check();
    solver.popContext();return outcome;   
  }
 
  /** Extracts an ID of a supplied vertex. */
 
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.