Pierre-Yves wrote:
Dear list,
I am a new user of the poi project, trying to use the hssf and xssf to
read excel sheet.
I am trying to run some demo code and I took some code from the page :
http://poi.apache.org/spreadsheet/how-to.html
(paragraph "XSSF and SAX (Event API)")
The part of code I am testing is:
#--------------------------------#
String filename = "/home/pingou/Desktop/2003/2003.xls";
Package pkg = Package.open(filename);
XSSFReader r = new XSSFReader( pkg );
SharedStringsTable sst = r.getSharedStringsTable();
XMLReader parser = fetchSheetParser(sst);
#--------------------------------#
Using netbeans I can not compile because of the line:
"XMLReader parser = fetchSheetParser(sst);"
Please ignore my huge stupidity... (the method is in the class)
/me goes to hide in a small and dark corner
Regards,
Pierre
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]