Package mbj.robotdriver.util

Examples of mbj.robotdriver.util.SpecialFileWriter


    IntPair holderAndPosition = new IntPair(0,1);
    try {
      Holder targetHolder = thePlate.targetHolder();
      targetHolder.setPlate(thePlate);
      FileUtil.copy(tecanSettings.getProperty("workingListReferencePath"), tecanSettings.getProperty("workingListExportPath"));
      SpecialFileWriter workListWriter = new SpecialFileWriter(tecanSettings.getProperty("workingListExportPath"), true);
      workListWriter.write("Comment(\"Begin\");\n");
      for (IngredientList aIngredientList : this) {
        holderAndPosition = generateSubWorkingList(aIngredientList, holderAndPosition, tecanSettings, targetHolder, holderList, wasteHolder, workListWriter);
      }
      workListWriter.write("Comment(\"End\");\n");
      workListWriter.close();
    } catch (FileNotFoundException e) {
      throw new RobotDriverException("Problem to access the File " + tecanSettings.getProperty("workingListReferencePath") +
          " or the file" + tecanSettings.getProperty("workingListExportPath") + "\n" + "Details: " + e.getMessage());
    } catch (IOException e) {
      throw new RobotDriverException("Problem to access the File " + tecanSettings.getProperty("workingListReferencePath") +
View Full Code Here

TOP

Related Classes of mbj.robotdriver.util.SpecialFileWriter

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.