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);"

Thus I was wondering if I missed something or if the code in this page is not up to date (google does not return me a lot of results for fetchSheetParser)

Thanks in advance for your help,

Best regards,

Pierre


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to