You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/07/25 12:26:55 UTC
DO NOT REPLY [Bug 47579] New: [doc] HSSFSheet not iterable
https://issues.apache.org/bugzilla/show_bug.cgi?id=47579
Summary: [doc] HSSFSheet not iterable
Product: POI
Version: 3.5-dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P3
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: cpuidle@gmx.de
http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFSheet.html says
HSSFSheet implements Iterable which it doesn't- neither in 3.2 final nor 3.5b5.
Would there be any chance to get the Iterable implementation into 3.5 or (less
preferred) fix the docs?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
DO NOT REPLY [Bug 47579] [doc] HSSFSheet not iterable
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47579
Yegor Kozlov <ye...@dinom.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Yegor Kozlov <ye...@dinom.ru> 2009-07-25 04:00:31 PST ---
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
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org