Interface FieldExporter


  • public interface FieldExporter
    An interface implemented by objects that can export the value of a particular.
    Author:
    Kim Rutherford
    • Method Detail

      • exportField

        void exportField​(InterMineObject o,
                         java.lang.String fieldName,
                         ObjectStore os,
                         javax.servlet.http.HttpServletResponse response)
        Example FieldExporter that splits the a String field at the first comma and outputs each bit on a new line.
        Parameters:
        o - the object of interest
        fieldName - the field of the object
        os - the ObjectStore that contains the object
        response - The HTTP response we are creating - used to get the OutputStream to write to
        Throws:
        ExportException - if the application business logic throws an exception