dk.netarkivet.harvester.harvesting.frontier
Class FrontierReportCsvExport

java.lang.Object
  extended by dk.netarkivet.harvester.harvesting.frontier.FrontierReportCsvExport

public class FrontierReportCsvExport
extends java.lang.Object

Utility class implementing the export of a frontier report object to a CSV file.


Constructor Summary
FrontierReportCsvExport()
           
 
Method Summary
static void outputAsCsv(InMemoryFrontierReport report, java.io.PrintWriter pw, java.lang.String separator)
          Outputs the report as CSV, using the given writer and the given field separator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FrontierReportCsvExport

public FrontierReportCsvExport()
Method Detail

outputAsCsv

public static void outputAsCsv(InMemoryFrontierReport report,
                               java.io.PrintWriter pw,
                               java.lang.String separator)
Outputs the report as CSV, using the given writer and the given field separator. Note that writer is not closed by this method.

Parameters:
pw - the writer to output to
separator - the field separator.