Package org.apache.poi.ss.util.cellwalk
Class CellWalk
java.lang.Object
org.apache.poi.ss.util.cellwalk.CellWalk
Traverse cell range.
- Author:
- Roman Kashitsyn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanShould we call handler on empty (blank) cells.voidsetTraverseEmptyCells(boolean traverseEmptyCells) Sets the traverseEmptyCells property.voidtraverse(CellHandler handler) Traverse cell range from top left to bottom right cell.
-
Constructor Details
-
CellWalk
-
-
Method Details
-
isTraverseEmptyCells
public boolean isTraverseEmptyCells()Should we call handler on empty (blank) cells. Default is false.- Returns:
- true if handler should be called on empty (blank) cells, false otherwise.
-
setTraverseEmptyCells
public void setTraverseEmptyCells(boolean traverseEmptyCells) Sets the traverseEmptyCells property.- Parameters:
traverseEmptyCells- new property value
-
traverse
Traverse cell range from top left to bottom right cell.- Parameters:
handler- handler to call on each appropriate cell
-