jdbreport.model.io.itext.pdf
Class ITextWriter

java.lang.Object
  extended by jdbreport.model.io.itext.pdf.ITextWriter
All Implemented Interfaces:
ReportWriter, ResourceWriter
Direct Known Subclasses:
PdfWriter

public abstract class ITextWriter
extends java.lang.Object
implements ReportWriter

Version:
2.0 19.05.2010
Author:
Andrey Kholmanskih

Constructor Summary
ITextWriter()
           
 
Method Summary
 void save(java.io.File file, ReportBook reportBook)
           
 void save(java.io.Writer writer, ReportBook reportBook)
           
 java.lang.String write(java.lang.String fileName, java.lang.Object resource)
          Write of resources
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jdbreport.model.io.ReportWriter
save
 

Constructor Detail

ITextWriter

public ITextWriter()
Method Detail

save

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

save

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

write

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

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