1 package org.simantics.simulation.export;
3 import java.io.BufferedOutputStream;
5 import java.io.FileOutputStream;
6 import java.io.IOException;
7 import java.io.PrintStream;
9 import org.simantics.history.HistoryException;
10 import org.simantics.history.csv.CSVFormatter;
12 public class CSVWriter extends CSVFormatter {
15 public void write() throws IOException, HistoryException {
16 FileOutputStream fos = null;
18 fos = new FileOutputStream(file, true);
19 BufferedOutputStream bos = new BufferedOutputStream( fos );
20 PrintStream ps = new PrintStream( bos );
21 formulate2( null, ps );
27 } catch (IOException e) {