Class 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.TableHttpExporter
    Obsoleted - 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.Logger LOG  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canExport​(org.intermine.web.logic.results.PagedTable pt)
      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.
      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 void setSequenceExportHeader​(javax.servlet.http.HttpServletResponse response, boolean doGzip)
      Set response proper header.
      • 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
    • Field Detail

      • LOG

        protected static final org.apache.log4j.Logger LOG
    • Constructor Detail

      • SequenceHttpExporter

        public SequenceHttpExporter()
    • Method Detail

      • setSequenceExportHeader

        public static void setSequenceExportHeader​(javax.servlet.http.HttpServletResponse response,
                                                   boolean doGzip)
        Set response proper header.
        Parameters:
        response - response
        doGzip - 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:
        export in interface org.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.PathException
        The intial export path list is just the paths from the columns of the PagedTable with chromosomeLocation added (if appropriate)
        Specified by:
        getInitialExportPaths in interface org.intermine.web.logic.export.http.TableHttpExporter
        Throws:
        org.intermine.pathquery.PathException
      • canExport

        public boolean canExport​(org.intermine.web.logic.results.PagedTable pt)
        Specified by:
        canExport in interface org.intermine.web.logic.export.http.TableHttpExporter