jas.io
Class XLSFileDataWriter
java.lang.Object
jas.io.DataFileWriter
jas.io.XLSFileDataWriter
public class XLSFileDataWriter
- extends DataFileWriter
A writer for Microsoft Excel files.
Title: JAS
Description: Java Agent-based Simulation library
Copyright: Copyright (C) 2002 Michele Sonnessa
Company:
- Author:
- Michele Sonnessa
Constructor Summary |
XLSFileDataWriter(java.io.File existingOutputFile,
java.lang.String sheetName)
|
XLSFileDataWriter(java.io.File newOutputFile,
java.lang.String sheetName,
java.lang.String[] fields)
|
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 |
XLSFileDataWriter
public XLSFileDataWriter(java.io.File existingOutputFile,
java.lang.String sheetName)
XLSFileDataWriter
public XLSFileDataWriter(java.io.File newOutputFile,
java.lang.String sheetName,
java.lang.String[] fields)
appendLine
public void appendLine()
- Specified by:
appendLine
in class DataFileWriter
close
public void close()
- Specified by:
close
in class DataFileWriter
createNewSheet
public jxl.write.WritableSheet createNewSheet(java.lang.String name,
java.lang.String[] columns)
createNewWorkbook
public void createNewWorkbook(java.io.File newFile,
java.lang.String sheetName,
java.lang.String[] fields)
getCurrentWorkbook
public jxl.write.WritableWorkbook getCurrentWorkbook()
getCurrentWorksheet
public jxl.write.WritableSheet getCurrentWorksheet()
openSheet
public void openSheet(java.io.File source)