net.sourceforge.jdbcimporter
Interface RowTranslator
- All Known Implementing Classes:
- SkipRowsRowTranslator
- public interface RowTranslator
The RowTranslator interface defines the method used to translate
a row's values from a file into a row's values to be imported
into the database.
- Version:
- 0.72
- Author:
- cnagy
getValues
public ColumnValue[] getValues(EntityDef entityDef,
ColumnValue[] rowvalues)
- Returns the translated row's values. If null is returned then the JDBCImporter will skip the row.
- Parameters:
entityDef
- the definition of the entityrowvalues
- the row's values read from a file
- Returns:
- the new row's values or null