Package cdc.impex.api
Class DefaultImportHandler
- java.lang.Object
-
- cdc.impex.api.DefaultImportHandler
-
- All Implemented Interfaces:
ImportHandler
public class DefaultImportHandler extends Object implements ImportHandler
-
-
Field Summary
Fields Modifier and Type Field Description static DefaultImportHandlerQUIETstatic DefaultImportHandlerVERBOSE
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultImportHandler(boolean verbose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginSheetImport(String systemId, String sheetName, SheetTemplate template)Invoked to notify the beginning of the import of a sheet.voidendSheetImport(String systemId, String sheetName, SheetTemplate template)Invoked to notify the end of the import of a sheet.voidimportData(ImportRow data)Invoked to notify the import a a data row.
-
-
-
Field Detail
-
VERBOSE
public static final DefaultImportHandler VERBOSE
-
QUIET
public static final DefaultImportHandler QUIET
-
-
Method Detail
-
beginSheetImport
public void beginSheetImport(String systemId, String sheetName, SheetTemplate template)
Description copied from interface:ImportHandlerInvoked to notify the beginning of the import of a sheet.- Specified by:
beginSheetImportin interfaceImportHandler- Parameters:
systemId- The system if of the imported data.sheetName- The sheet name.template- The sheet template associated to this import.
-
importData
public void importData(ImportRow data)
Description copied from interface:ImportHandlerInvoked to notify the import a a data row.- Specified by:
importDatain interfaceImportHandler- Parameters:
data- The imported data row.
-
endSheetImport
public void endSheetImport(String systemId, String sheetName, SheetTemplate template)
Description copied from interface:ImportHandlerInvoked to notify the end of the import of a sheet.- Specified by:
endSheetImportin interfaceImportHandler- Parameters:
systemId- The system if of the imported data.sheetName- The sheet name.template- The sheet template associated to this import.
-
-