How can i read for each row and cloumn 14 value into string variable in apache poi 4.
while (rows.hasNext()) {
Row currentRow = rows.next();
System.out.println(currentRow);
Iterator<Cell> cellsInRow = currentRow.iterator();
while(cellsInRow.hasNext()) {
Cell currentCell = cellsInRow.next();
int cellIndex = currentCell.getColumnIndex();
int columnidx = 14;
String values = currentCell.getStringValue() //how can i get the value for every row for column 14
}
}