public void writeRows(Table table, List<Row> rows) {
Util.checkForNotNull(rows, "rows");
Util.checkForNotNull(table, "table");
for (Row row : rows) {
RowDetails rowDetails = new RowDetails(table, rowIndex.getAndIncrement(), row);
writeRow(rowDetails);
}
}