× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



(confused) I thought you were having trouble with the toByteArray() method. Now you're talking about getCreationHelper?!

There's prototype for getCreationHelper() included in the HSSF_H member that I wrote for POI 3.6. You can download my POI stuff here:
http://www.scottklement.com/poi


On 11/2/2010 3:59 PM, Marvin Radding wrote:
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.