Package net.sf.jasperreports.export
Class SimpleHtmlExporterOutput
- java.lang.Object
-
- net.sf.jasperreports.export.SimpleWriterExporterOutput
-
- net.sf.jasperreports.export.SimpleHtmlExporterOutput
-
- All Implemented Interfaces:
ExporterOutput
,HtmlExporterOutput
,WriterExporterOutput
public class SimpleHtmlExporterOutput extends SimpleWriterExporterOutput implements HtmlExporterOutput
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface net.sf.jasperreports.export.WriterExporterOutput
PROPERTY_CHARACTER_ENCODING
-
-
Constructor Summary
Constructors Constructor Description SimpleHtmlExporterOutput(File file)
SimpleHtmlExporterOutput(File file, String encoding)
SimpleHtmlExporterOutput(OutputStream outputStream)
SimpleHtmlExporterOutput(OutputStream outputStream, String encoding)
SimpleHtmlExporterOutput(Writer writer)
SimpleHtmlExporterOutput(String fileName)
SimpleHtmlExporterOutput(StringBuffer sbuffer)
SimpleHtmlExporterOutput(StringBuilder sbuilder)
SimpleHtmlExporterOutput(String fileName, String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HtmlResourceHandler
getFontHandler()
This handler is needed when generating static, non-interactive HTML output, in server environments where the JsonExporter is not involved in bringing in the Web font information and the font CSS still needs to be generated dynamically and comes from a server URL that is different from the one used for static resources.HtmlResourceHandler
getImageHandler()
HtmlResourceHandler
getResourceHandler()
void
setFontHandler(HtmlResourceHandler fontHandler)
void
setImageHandler(HtmlResourceHandler imageHandler)
void
setResourceHandler(HtmlResourceHandler resourceHandler)
-
Methods inherited from class net.sf.jasperreports.export.SimpleWriterExporterOutput
close, getEncoding, getWriter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.export.WriterExporterOutput
close, getEncoding, getWriter
-
-
-
-
Constructor Detail
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(StringBuffer sbuffer)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(StringBuilder sbuilder)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(Writer writer)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(OutputStream outputStream)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(OutputStream outputStream, String encoding)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(File file)
-
SimpleHtmlExporterOutput
public SimpleHtmlExporterOutput(String fileName)
-
-
Method Detail
-
getImageHandler
public HtmlResourceHandler getImageHandler()
- Specified by:
getImageHandler
in interfaceHtmlExporterOutput
-
setImageHandler
public void setImageHandler(HtmlResourceHandler imageHandler)
-
getFontHandler
public HtmlResourceHandler getFontHandler()
Description copied from interface:HtmlExporterOutput
This handler is needed when generating static, non-interactive HTML output, in server environments where the JsonExporter is not involved in bringing in the Web font information and the font CSS still needs to be generated dynamically and comes from a server URL that is different from the one used for static resources.- Specified by:
getFontHandler
in interfaceHtmlExporterOutput
-
setFontHandler
public void setFontHandler(HtmlResourceHandler fontHandler)
-
getResourceHandler
public HtmlResourceHandler getResourceHandler()
- Specified by:
getResourceHandler
in interfaceHtmlExporterOutput
-
setResourceHandler
public void setResourceHandler(HtmlResourceHandler resourceHandler)
-
-