|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.jdbcimporter.rowtranslator.SkipRowsRowTranslator
The SkipRowsRowTranslator translates a row's values so that the first n rows are skipped.
Field Summary | |
protected int |
numRows
The number of rows to skip. |
Constructor Summary | |
SkipRowsRowTranslator()
|
Method Summary | |
ColumnValue[] |
getValues(EntityDef entityDef,
ColumnValue[] rowvalues)
Returns the translated row's values. |
void |
setNumRows(int rows)
Sets the number of rows to skip. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int numRows
Constructor Detail |
public SkipRowsRowTranslator()
Method Detail |
public void setNumRows(int rows)
rows
- number of rows to skippublic ColumnValue[] getValues(EntityDef entityDef, ColumnValue[] rowvalues)
RowTranslator
getValues
in interface RowTranslator
entityDef
- the definition of the entityrowvalues
- the row's values read from a file
RowTranslator.getValues(net.sourceforge.jdbcimporter.EntityDef, net.sourceforge.jdbcimporter.ColumnValue[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |