public class ServletExportHandler
extends java.lang.Object
Constructor and Description |
---|
ServletExportHandler(ExportWriter writerIn)
Constructor with passed in ExportWriter
|
Modifier and Type | Method and Description |
---|---|
void |
writeExporterToOutput(javax.servlet.http.HttpServletResponse response,
java.util.List pageList)
Write the contents of the ExportWriter to the HttpServletResponse
|
public ServletExportHandler(ExportWriter writerIn)
writerIn
- ExportWriter to usepublic void writeExporterToOutput(javax.servlet.http.HttpServletResponse response, java.util.List pageList) throws java.io.IOException
response
- to write the contents of the ExportWriter topageList
- List of data to be exported to the Responsejava.io.IOException
- if there is an error trying to write to the Response