jdbreport.model.io.xml.excel
Class ExcelWriter

java.lang.Object
  extended by jdbreport.model.io.xml.excel.ExcelWriter
All Implemented Interfaces:
ReportWriter, ResourceWriter

public class ExcelWriter
extends Object
implements ReportWriter

Version:
2.0 30.03.2012
Author:
Andrey Kholmanskih

Constructor Summary
ExcelWriter()
           
 
Method Summary
 void save(File file, ReportBook reportBook)
           
 void save(OutputStream out, ReportBook reportBook)
           
 void save(Writer writer, ReportBook reportBook)
           
 String write(String fileName, Object resource)
          Write of resources
 
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

save

public void save(OutputStream out,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

save

public void save(Writer writer,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

save

public void save(File file,
                 ReportBook reportBook)
          throws SaveReportException
Specified by:
save in interface ReportWriter
Throws:
SaveReportException

write

public String write(String fileName,
                    Object resource)
             throws SaveReportException
Description copied from interface: ResourceWriter
Write of resources

Specified by:
write in interface ResourceWriter
Returns:
the filename
Throws:
SaveReportException