Package org.intermine.bio.web.export
Class SequenceHttpExporter
- java.lang.Object
-
- org.intermine.web.logic.export.http.HttpExporterBase
-
- org.intermine.bio.web.export.SequenceHttpExporter
-
- All Implemented Interfaces:
org.intermine.web.logic.export.http.TableHttpExporter
public class SequenceHttpExporter extends org.intermine.web.logic.export.http.HttpExporterBase implements org.intermine.web.logic.export.http.TableHttpExporterObsoleted - replaced by new results table An implementation of TableExporter that exports sequence objects using the BioJava sequence and feature writers.
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.apache.log4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description SequenceHttpExporter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExport(org.intermine.web.logic.results.PagedTable pt)voidexport(org.intermine.web.logic.results.PagedTable pt, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.intermine.web.struts.TableExportForm form, java.util.Collection<org.intermine.pathquery.Path> unionPathCollection, java.util.Collection<org.intermine.pathquery.Path> newPathCollection)Method called to export a PagedTable object using the BioJava sequence and feature writers.java.util.List<org.intermine.pathquery.Path>getInitialExportPaths(org.intermine.web.logic.results.PagedTable pt)The intial export path list is just the paths from the columns of the PagedTable with chromosomeLocation added (if appropriate)static voidsetSequenceExportHeader(javax.servlet.http.HttpServletResponse response, boolean doGzip)Set response proper header.
-
-
-
Method Detail
-
setSequenceExportHeader
public static void setSequenceExportHeader(javax.servlet.http.HttpServletResponse response, boolean doGzip)Set response proper header.- Parameters:
response- responsedoGzip- true if the output should be gzipped
-
export
public void export(org.intermine.web.logic.results.PagedTable pt, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.intermine.web.struts.TableExportForm form, java.util.Collection<org.intermine.pathquery.Path> unionPathCollection, java.util.Collection<org.intermine.pathquery.Path> newPathCollection)Method called to export a PagedTable object using the BioJava sequence and feature writers.- Specified by:
exportin interfaceorg.intermine.web.logic.export.http.TableHttpExporter
-
getInitialExportPaths
public java.util.List<org.intermine.pathquery.Path> getInitialExportPaths(org.intermine.web.logic.results.PagedTable pt) throws org.intermine.pathquery.PathExceptionThe intial export path list is just the paths from the columns of the PagedTable with chromosomeLocation added (if appropriate)- Specified by:
getInitialExportPathsin interfaceorg.intermine.web.logic.export.http.TableHttpExporter- Throws:
org.intermine.pathquery.PathException
-
canExport
public boolean canExport(org.intermine.web.logic.results.PagedTable pt)
- Specified by:
canExportin interfaceorg.intermine.web.logic.export.http.TableHttpExporter
-
-