jas.io
Class XLSFileDataWriter

java.lang.Object
  extended by jas.io.DataFileWriter
      extended by 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)
           
 
Method Summary
 void appendLine()
           
 void close()
           
 jxl.write.WritableSheet createNewSheet(java.lang.String name, java.lang.String[] columns)
           
 void createNewWorkbook(java.io.File newFile, java.lang.String sheetName, java.lang.String[] fields)
           
 jxl.write.WritableWorkbook getCurrentWorkbook()
           
 jxl.write.WritableSheet getCurrentWorksheet()
           
 void openSheet(java.io.File source)
           
 
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
 

Constructor Detail

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)
Method Detail

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)