net.sf.doolin.tabular.excel
Class ExcelWriter<T>

java.lang.Object
  extended by net.sf.doolin.tabular.excel.ExcelWriter<T>
Type Parameters:
T - Type of object per row
All Implemented Interfaces:
TabularWriter<T>

public class ExcelWriter<T>
extends Object
implements TabularWriter<T>

Writes to an Excel workbook.

Author:
Damien Coraboeuf

Constructor Summary
ExcelWriter()
           
 
Method Summary
 void write(OutputStream output, TabularModel<T> model)
          Writes the given tabular data into the given output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelWriter

public ExcelWriter()
Method Detail

write

public void write(OutputStream output,
                  TabularModel<T> model)
           throws IOException
Description copied from interface: TabularWriter
Writes the given tabular data into the given output stream

Specified by:
write in interface TabularWriter<T>
Parameters:
output - Output stream to write to
model - Data to write
Throws:
IOException - Thrown if an error occurs during the writing.


Copyright © 2011. All Rights Reserved.