Package export.CSVExport
Class CSVDataUnitExport<T extends PamDataUnit>
java.lang.Object
export.CSVExport.CSVDataUnitExport<T>
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.commons.csv.CSVPrinter
addDetectionSpecificFields
(org.apache.commons.csv.CSVPrinter csvPrinter, T dataUnit, int index) Add detection specific fields to a csvprinter object.abstract String
getName()
Get the name of the structureabstract Class<?>
Get the unit class
-
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 PamDataUnitthe
- data unit.
-
getUnitClass
Get the unit class- Returns:
-
getName
Get the name of the structure- Returns:
-