public void processLine(String line) { lineNumber++; List <String> row = rowConverter.lineToRow(line); if (lineNumber == 1 && hasHeader) { processor.rowHeader(row); } else { processor.processRow(row); } }
public void processRow(List <String> row) { if (filter.shouldKeepRow(row)) { processor.processRow(row); } }
public void processRow(List <String> row) { row = transform.transformRow(row); if (row != null) { processor.processRow(row); } }
private void forward(List <List <String> > rows) { if (rows == null) { return; } foreach (List <String> row in rows) { processor.processRow(row); } }
public void process() { DateTime date = new DateTime(2013, 4, 2); while (countDown >= 0 && streamInformation.active) { String columnA = countDown.ToString(); String columnB = date.ToString(DateUtil.FORMAT_MDYYYY); List <String> row = new List <String> { columnA, columnB }; next.processRow(row); countDown--; date = date.AddDays(-7); } next.endOfFile(); // flushes buffering and output }
public void processRow(List <String> row) { processor.processRow(row); }
public void processRow(List <String> row) { next.processRow(row); }