Package org.jamesii.core.data.experiment

Examples of org.jamesii.core.data.experiment.IExperimentWriter


    if (parameters == null) {
      return;
    }

    IExperimentWriter writer =
        ((ExperimentWriterFactory) parameters.getSecondValue())
            .create(parameters.getFirstValue(), SimSystem.getRegistry().createContext());

    if (writer == null) {
      SimSystem.report(Level.SEVERE, "Could not initialise experiment writer.");
View Full Code Here


      if (erwf == null) {
        SimSystem.report(Level.SEVERE, "Can't get ExperimentWriterFactory!");
        return;
      }

      IExperimentWriter writer = erwf.create(parameter, SimSystem.getRegistry().createContext());

      // write BaseExperiment to the file
      try {
        writer.writeExperiment(parameter, experiment);
        SimSystem.report(Level.CONFIG, "Experiment backup saved to: "
            + ExperimentPerspective.getExpLocation(parameter));
      } catch (IOException e) {
        SimSystem.report(Level.WARNING,
            "Can't write backup of BaseExperiment:", e);
View Full Code Here

TOP

Related Classes of org.jamesii.core.data.experiment.IExperimentWriter

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.