Class CSVDataUnitExport<T extends PamDataUnit>

java.lang.Object
export.CSVExport.CSVDataUnitExport<T>

public abstract class CSVDataUnitExport<T extends PamDataUnit> extends Object
Base class for CSV data unit export. Exports the generic info for a PAMDataUnit. Subclass this for specefic data units e.g. clicks.
Author:
Jamie Macaulay
  • Constructor Details

    • CSVDataUnitExport

      public CSVDataUnitExport()
  • Method Details

    • addDetectionSpecificFields

      public abstract org.apache.commons.csv.CSVPrinter addDetectionSpecificFields(org.apache.commons.csv.CSVPrinter csvPrinter, T dataUnit, int index)
      Add detection specific fields to a csvprinter object. .
      Parameters:
      structure - containing all generic info from PamDataUnit
      the - data unit.
    • getUnitClass

      public abstract Class<?> getUnitClass()
      Get the unit class
      Returns:
    • getName

      public abstract String getName()
      Get the name of the structure
      Returns: