oscon2006.common
Class CsvBuilder
java.lang.Object
oscon2006.common.CsvBuilder
public class CsvBuilder
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CsvBuilder
public CsvBuilder()
setData
public void setData(java.lang.Object obj)
- Parameters:
wb
- - See Also:
setTargetWorksheet(String)
setTargetWorksheet
public void setTargetWorksheet(java.lang.String value)
build
public java.io.File build(java.lang.String csvFilename)
throws java.io.IOException
- Throws:
java.io.IOException
getData
public java.lang.Object getData()
build
public byte[] build()
throws java.io.IOException
- Throws:
java.io.IOException
build
public void build(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
processHSSFWorkbook
protected void processHSSFWorkbook(HSSFWorkbook workbook,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
processHSSFSheet
protected void processHSSFSheet(HSSFSheet sheet,
java.lang.String sheetName,
CSVWriter writer)
throws java.io.IOException
- Throws:
java.io.IOException
processResultSet
protected void processResultSet(java.sql.ResultSet rs,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
getRowValues
protected java.lang.String[] getRowValues(HSSFRow r)
getValue
protected java.lang.String getValue(HSSFCell cell)
Copyright © 2006 oscon2006.sourceforge.net. All Rights Reserved.