jas.io
Class DataFileWriter
java.lang.Object
jas.io.DataFileWriter
- Direct Known Subclasses:
- CSVFileDataWriter, XLSFileDataWriter
public abstract class DataFileWriter
- extends java.lang.Object
A writer for customly formatted files.
Title: JAS
Description: Java Agent-based Simulation library
Copyright: Copyright (C) 2002 Michele Sonnessa
Company:
- Author:
- Michele Sonnessa
Method Summary |
abstract void |
appendLine()
|
abstract void |
close()
|
void |
setBool(int columnIndex,
boolean value)
|
void |
setBool(java.lang.String column,
boolean value)
|
void |
setDbl(int columnIndex,
double value)
|
void |
setDbl(java.lang.String column,
double value)
|
void |
setFlt(int columnIndex,
float value)
|
void |
setFlt(java.lang.String column,
float value)
|
void |
setInt(int columnIndex,
int value)
|
void |
setInt(int columnIndex,
long value)
|
void |
setInt(java.lang.String column,
int value)
|
void |
setLng(java.lang.String column,
long value)
|
void |
setStr(int columnIndex,
java.lang.String value)
|
void |
setStr(java.lang.String column,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataFileWriter
public DataFileWriter()
DataFileWriter
public DataFileWriter(ParametersBag bag,
java.lang.String section)
DataFileWriter
public DataFileWriter(java.lang.String[] fieldList)
appendLine
public abstract void appendLine()
close
public abstract void close()
setBool
public void setBool(int columnIndex,
boolean value)
setBool
public void setBool(java.lang.String column,
boolean value)
setDbl
public void setDbl(int columnIndex,
double value)
setDbl
public void setDbl(java.lang.String column,
double value)
setFlt
public void setFlt(int columnIndex,
float value)
setFlt
public void setFlt(java.lang.String column,
float value)
setInt
public void setInt(int columnIndex,
int value)
setInt
public void setInt(int columnIndex,
long value)
setInt
public void setInt(java.lang.String column,
int value)
setLng
public void setLng(java.lang.String column,
long value)
setStr
public void setStr(int columnIndex,
java.lang.String value)
setStr
public void setStr(java.lang.String column,
java.lang.String value)