https://issues.apache.org/bugzilla/show_bug.cgi?id=51572

--- Comment #1 from Alejandro Torras <[email protected]> 2011-07-28 07:24:40 
UTC ---
Simple java code to dump the contents:

    private void dumpExcel(InputStream is) throws Exception {

        final HSSFSheet st = new HSSFWorkbook(new
POIFSFileSystem(is)).getSheetAt(0);
        for (final Iterator<Row> ri = st.rowIterator(); ri.hasNext();) {
            final Row r = ri.next();
            for (final Iterator<Cell> ci = r.cellIterator(); ci.hasNext();) {
                final Cell c = ci.next();
                c.setCellType(Cell.CELL_TYPE_STRING);
                System.out.print(c.getStringCellValue() + '\t');
            }
            System.out.println();
        }
    }

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to