jas.io
Class CSVFileDataWriter

java.lang.Object
  extended by jas.io.DataFileWriter
      extended by jas.io.CSVFileDataWriter

public class CSVFileDataWriter
extends DataFileWriter

A writer for Comma Separated Value formatted files.

Title: JAS

Description: Java Agent-based Simulation library

Copyright: Copyright (C) 2002 Michele Sonnessa

Company:

Author:
Michele Sonnessa

Field Summary
static char DEFAULT_SEPARATION_CHAR
           
 
Constructor Summary
CSVFileDataWriter(java.io.File existingOutputFile)
           
CSVFileDataWriter(java.io.File newOutputFile, ParametersBag bag, java.lang.String section)
           
CSVFileDataWriter(java.io.File newOutputFile, java.lang.String[] fieldList)
           
 
Method Summary
 void appendLine()
           
 void close()
           
 void readStructure(java.io.File sourceFile)
           
 
Methods inherited from class jas.io.DataFileWriter
setBool, setBool, setDbl, setDbl, setFlt, setFlt, setInt, setInt, setInt, setLng, setStr, setStr
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_SEPARATION_CHAR

public static final char DEFAULT_SEPARATION_CHAR
See Also:
Constant Field Values
Constructor Detail

CSVFileDataWriter

public CSVFileDataWriter(java.io.File existingOutputFile)

CSVFileDataWriter

public CSVFileDataWriter(java.io.File newOutputFile,
                         ParametersBag bag,
                         java.lang.String section)

CSVFileDataWriter

public CSVFileDataWriter(java.io.File newOutputFile,
                         java.lang.String[] fieldList)
Method Detail

appendLine

public void appendLine()
Specified by:
appendLine in class DataFileWriter

close

public void close()
Specified by:
close in class DataFileWriter

readStructure

public void readStructure(java.io.File sourceFile)