org.displaytag.export
Class DefaultRtfExportView

java.lang.Object
  extended by org.displaytag.export.DefaultItextExportView
      extended by org.displaytag.export.DefaultRtfExportView
All Implemented Interfaces:
BinaryExportView, ExportView

public class DefaultRtfExportView
extends DefaultItextExportView

RTF exporter using iText.

Version:
$Revision$ ($Author$)
Author:
Jorge L. Barroso

Constructor Summary
DefaultRtfExportView()
           
 
Method Summary
 java.lang.String getMimeType()
          MimeType to return.
protected  void initItextWriter(com.lowagie.text.Document document, java.io.OutputStream out)
          Initializes the RTF writer this export view uses to write the table document.
 
Methods inherited from class org.displaytag.export.DefaultItextExportView
doExport, setParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRtfExportView

public DefaultRtfExportView()
Method Detail

getMimeType

public java.lang.String getMimeType()
Description copied from interface: ExportView
MimeType to return.

Specified by:
getMimeType in interface ExportView
Overrides:
getMimeType in class DefaultItextExportView
Returns:
"application/rtf"
See Also:
ExportView.getMimeType()

initItextWriter

protected void initItextWriter(com.lowagie.text.Document document,
                               java.io.OutputStream out)
Initializes the RTF writer this export view uses to write the table document.

Specified by:
initItextWriter in class DefaultItextExportView
Parameters:
document - The iText document to be written.
out - The output stream to which the document is written.


Copyright © 2002-2007 the Displaytag team. All Rights Reserved.