Package cdc.impex.exports
Class VerboseSheetExporter
- java.lang.Object
-
- cdc.impex.exports.VerboseSheetExporter
-
- All Implemented Interfaces:
SheetExporter
public class VerboseSheetExporter extends Object implements SheetExporter
-
-
Field Summary
Fields Modifier and Type Field Description protected SheetExporterdelegate-
Fields inherited from interface cdc.impex.exports.SheetExporter
QUIET_VOID, VERBOSE_VOID
-
-
Constructor Summary
Constructors Constructor Description VerboseSheetExporter(SheetExporter delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginSheetExport(SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)Invoked to begin a sheet exports.voidendSheetExport(SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)Invoked to end a sheet export.voidexportRow(ExportRow row, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)Invoked to export the current row in current sheet.intgetNumberOfRemainingRows()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cdc.impex.exports.SheetExporter
hasMore
-
-
-
-
Field Detail
-
delegate
protected final SheetExporter delegate
-
-
Constructor Detail
-
VerboseSheetExporter
public VerboseSheetExporter(SheetExporter delegate)
-
-
Method Detail
-
beginSheetExport
public void beginSheetExport(SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
Description copied from interface:SheetExporterInvoked to begin a sheet exports.- Specified by:
beginSheetExportin interfaceSheetExporter- Parameters:
template- The sheet template associated to this extraction.issuesHandler- The issues handler that should be used by the application to generate new issues.
-
getNumberOfRemainingRows
public int getNumberOfRemainingRows()
- Specified by:
getNumberOfRemainingRowsin interfaceSheetExporter- Returns:
- The remaining number of rows to extract in current row.
It can be an approximation when
> 0.
WARNING: This must be 0 when there are no more rows to export.
WARNING: This must be a negative number when the number is unknown.
-
exportRow
public void exportRow(ExportRow row, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
Description copied from interface:SheetExporterInvoked to export the current row in current sheet.- Specified by:
exportRowin interfaceSheetExporter- Parameters:
row- The row that will contain extracted data.issuesHandler- The issues handler that should be used by the application to generate new issues.
-
endSheetExport
public void endSheetExport(SheetTemplate template, cdc.issues.IssuesHandler<cdc.issues.Issue> issuesHandler)
Description copied from interface:SheetExporterInvoked to end a sheet export.- Specified by:
endSheetExportin interfaceSheetExporter- Parameters:
template- The sheet template associated to this extraction.issuesHandler- The issues handler that should be used by the application to generate new issues.
-
-