Make MissingCellPolicy javadocs even more explicit about iterators, as people seem not to quite get it
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@695621 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c97ad3dc7b
commit
b2b3ede54d
@ -545,6 +545,8 @@ public final class HSSFRow implements Comparable {
|
|||||||
* Note that the 4th element might well not be cell 4, as the iterator
|
* Note that the 4th element might well not be cell 4, as the iterator
|
||||||
* will not return un-defined (null) cells.
|
* will not return un-defined (null) cells.
|
||||||
* Call getCellNum() on the returned cells to know which cell they are.
|
* Call getCellNum() on the returned cells to know which cell they are.
|
||||||
|
* As this only ever works on physically defined cells,
|
||||||
|
* the {@link MissingCellPolicy} has no effect.
|
||||||
*/
|
*/
|
||||||
public Iterator cellIterator()
|
public Iterator cellIterator()
|
||||||
{
|
{
|
||||||
|
@ -382,7 +382,10 @@ public class HSSFWorkbook extends POIDocument
|
|||||||
* getting missing or blank cells from a row.
|
* getting missing or blank cells from a row.
|
||||||
* This will then apply to all calls to
|
* This will then apply to all calls to
|
||||||
* {@link HSSFRow.getCell()}. See
|
* {@link HSSFRow.getCell()}. See
|
||||||
* {@link MissingCellPolicy}
|
* {@link MissingCellPolicy}.
|
||||||
|
* Note that this has no effect on any
|
||||||
|
* iterators, only on when fetching Cells
|
||||||
|
* by their column index.
|
||||||
*/
|
*/
|
||||||
public void setMissingCellPolicy(MissingCellPolicy missingCellPolicy) {
|
public void setMissingCellPolicy(MissingCellPolicy missingCellPolicy) {
|
||||||
this.missingCellPolicy = missingCellPolicy;
|
this.missingCellPolicy = missingCellPolicy;
|
||||||
|
Loading…
Reference in New Issue
Block a user