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 13:00:32 UTC

DO NOT REPLY [Bug 47579] [doc] HSSFSheet not iterable

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