|
Thanks to all who have responded to my problem, especially Jon Paris.
That little program was great and helped immensely. It does have a few
little problems, but was a great help.
But I am sad to say, I am still having problems. This time it is with a
method that is classified as an interface or something out of the norm.
In the javadocs, it is documented like this:
org.apache.poi.hssf.usermodel
Class HSSFWorkbook
java.lang.Object
org.apache.poi.POIDocument
<http://poi.apache.org/apidocs/org/apache/poi/POIDocument.html>
org.apache.poi.hssf.usermodel.HSSFWorkbook
All Implemented Interfaces:
Workbook
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Workbook.html
CreationHelper
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/CreationHelpe
r.html>
getCreationHelper
<http://poi.apache.org/apidocs/org/apache/poi/hssf/usermodel/HSSFWorkboo
k.html#getCreationHelper()> ()
Returns an object that handles instantiating concrete classes
of the various instances one needs for HSSF and XSSF.
getCreationHelper
public CreationHelper
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/CreationHelpe
r.html> getCreationHelper()
Description copied from interface: Workbook
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Workbook.html
#getCreationHelper()>
Returns an object that handles instantiating concrete classes of the
various instances one needs for HSSF and XSSF.
Specified by:
getCreationHelper
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Workbook.html
#getCreationHelper()> in interface Workbook
<http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Workbook.html
But Jon's program does not find this method in HSSFWorkbook or anywhere
else that I can determine. And when I run my program, I get a
MethodNotFound error. But as you can see, it is documented.
I am at a loss of what to do next. Does anyone have any idea of how to
define this method correctly? It looks like this is one of those
documented features that never got implemented but it is in the Quick
Guide. I am puzzled.
Marvin
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.