1 /*
2 * AppendingRecorder.java
3 *
4 * Created on February 24, 2003, 6:45 PM
5 */
6
7 package org.mrd.repast.analysis;
8
9 import java.io.*;
10 import uchicago.src.sim.engine.*;
11
12 /***
13 *
14 * @author administrator
15 */
16 public class DataFileLogger{
17
18 /*** Holds value of property file. */
19 private File file;
20
21 /*** Holds value of property writer. */
22 private PrintWriter writer;
23
24 /*** Holds value of property model. */
25 private SimModel model;
26
27 /*** Creates a new instance of AppendingRecorder */
28 public DataFileLogger(String fileName, SimModel model) throws java.io.IOException{
29 this.model = model;
30 file = new File(fileName);
31 file.getParentFile().mkdirs();
32 file.createNewFile();
33
34 writer = new PrintWriter(new FileWriter(file));
35 }
36
37 public void writeProperties() {
38 }
39
40
41
42 }
This page was automatically generated by Maven