org.intermine.web.logic.export.http
Class TabHttpExporter

java.lang.Object
  extended by org.intermine.web.logic.export.http.HttpExporterBase
      extended by org.intermine.web.logic.export.http.StandardHttpExporter
          extended by org.intermine.web.logic.export.http.TabHttpExporter
All Implemented Interfaces:
TableHttpExporter

public class TabHttpExporter
extends StandardHttpExporter

Exporter that exports table with results in excel format.


Constructor Summary
TabHttpExporter()
          Constructor.
 
Method Summary
protected  Exporter getExporter(java.io.OutputStream out, java.lang.String separator, java.util.List<java.lang.String> headers)
          Do the export.
protected  void setResponseHeader(javax.servlet.http.HttpServletResponse response, boolean doGzip)
          Sets header and content type of result in response.
 
Methods inherited from class org.intermine.web.logic.export.http.StandardHttpExporter
canExport, export, getInitialExportPaths
 
Methods inherited from class org.intermine.web.logic.export.http.HttpExporterBase
getResultRows
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabHttpExporter

public TabHttpExporter()
Constructor.

Method Detail

setResponseHeader

protected void setResponseHeader(javax.servlet.http.HttpServletResponse response,
                                 boolean doGzip)
Sets header and content type of result in response.

Specified by:
setResponseHeader in class StandardHttpExporter
Parameters:
response - response
doGzip - whether to compress the stream

getExporter

protected Exporter getExporter(java.io.OutputStream out,
                               java.lang.String separator,
                               java.util.List<java.lang.String> headers)
Do the export.

Specified by:
getExporter in class StandardHttpExporter
Parameters:
out - output stream
separator - line separator
headers - if non-null, a list of the column headers which will be written by export()
Returns:
exporter that will perform the business logic of export.