Summary: | [doc] HSSFSheet not iterable | ||
---|---|---|---|
Product: | POI | Reporter: | Andreas Goetz <cpuidle> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.5-dev | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Andreas Goetz
2009-07-25 03:26:54 UTC
HSSFSheet *IS* iterable in terms of common SS interfaces: The following code compiles and works for me: Workbook wb = new HSSFWorkbook(new FileInputStream("test.xls")); Sheet sh = wb.createSheet(); for(Row row : sh){ for(Cell cell : row){ } } Yegor |