Package co.ecg.alpaca.core.table
Class AlpacaExcelTableWriter
java.lang.Object
co.ecg.alpaca.core.table.AlpacaTableWriter
co.ecg.alpaca.core.table.AlpacaExcelTableWriter
- Direct Known Subclasses:
EncryptedTableWriter
A class to hold generic tools for writing Reports in the Alpaca library.
- Version:
- $Id: $Id
- Author:
- James Puckett on 03/23/07 jpuckett@ecg.co
-
Constructor Summary
ConstructorsConstructorDescriptionAlpacaExcelTableWriter
(OutputStream outputStream, String tmpDirectory) Constructor for AlpacaExcelTableWriter. -
Method Summary
Modifier and TypeMethodDescriptionvoid
append.void
close()
close.void
flush()
flush.getPoiTempDirectory
(String directory) int
void
writeHeaders.Methods inherited from class co.ecg.alpaca.core.table.AlpacaTableWriter
addColumn
-
Constructor Details
-
AlpacaExcelTableWriter
public AlpacaExcelTableWriter(OutputStream outputStream, String tmpDirectory) throws AlpacaException Constructor for AlpacaExcelTableWriter.
- Parameters:
outputStream
- aOutputStream
object.- Throws:
AlpacaException
- if any.
-
-
Method Details
-
append
append.
- Specified by:
append
in classAlpacaTableWriter
- Parameters:
cells
- an array ofObject
objects.
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in classAlpacaTableWriter
-
flush
public void flush()flush.
- Specified by:
flush
in classAlpacaTableWriter
-
writeHeaders
writeHeaders.
- Specified by:
writeHeaders
in classAlpacaTableWriter
- Throws:
IOException
- if any.
-
close
close.
- Specified by:
close
in classAlpacaTableWriter
- Throws:
IOException
- if any.
-
getPoiTempDirectory
-