Class FlatFileWidgetResultProcessor

  • All Implemented Interfaces:
    WidgetResultProcessor

    public final class FlatFileWidgetResultProcessor
    extends java.lang.Object
    implements WidgetResultProcessor
    A widget result processor that produces results in flat file format (tsv/csv)
    Author:
    Alex Kalderimis
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> formatRow​(java.util.List<java.lang.Object> row)
      Format a list of objects into a string representation.
      static WidgetResultProcessor instance()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • instance

        public static WidgetResultProcessor instance()
        Returns:
        a widget result processor of some kind
      • formatRow

        public java.util.List<java.lang.String> formatRow​(java.util.List<java.lang.Object> row)
        Description copied from interface: WidgetResultProcessor
        Format a list of objects into a string representation.
        Specified by:
        formatRow in interface WidgetResultProcessor
        Parameters:
        row - The widget's results.
        Returns:
        A list of strings.