public class MyTranslator extends AbstractSpecialValueTranslator
| Constructor and Description |
|---|
MyTranslator() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(SpecialColumnDescriptor columnDescriptor)
Called once upon header creation to do some initial setup logic.
|
void |
performImport(String cellValue,
Item processedItem)
Called each time a non-empty cell value has to be imported.
|
isEmpty, performExport, validatepublic void init(SpecialColumnDescriptor columnDescriptor) throws HeaderValidationException
SpecialValueTranslatorinit in interface SpecialValueTranslatorinit in class AbstractSpecialValueTranslatorcolumnDescriptor - the newly created column descriptorHeaderValidationException - indicates that the column descriptor is not configured properlypublic void performImport(String cellValue, Item processedItem) throws ImpExException
SpecialValueTranslatorperformImport in interface SpecialValueTranslatorperformImport in class AbstractSpecialValueTranslatorcellValue - the cell value stringprocessedItem - the item to import the value forImpExException - indicates an import errorCopyright © 2017 SAP SE. All Rights Reserved.