[rules-dev] drools-decisiontables and poi-ooxml-3.9.jar
Christian Frommeyer
debian at frommeyer.name
Mon Mar 25 15:29:34 EDT 2013
Am 23.03.2013 14:19, schrieb Cristiano Gavião:
> I'm getting a problem with the org.apache.poi.openxml4j.exceptions
> package in my osgi things. I could not find a bundle that exports such
> package.
>
> Investigating a bit, the unique class that I could find using this api
> is org.drools.decisiontable.parser.xls.ExcelParser, but only
> org.apache.poi.openxml4j.exceptions.InvalidFormatException class.
>
> is this api really needed?
>
>> public void parseFile(InputStream inStream) {
>> try {
>> Workbook workbook = WorkbookFactory.create(inStream);
>> } catch ( *InvalidFormatException* e ) {
>
>
> all other behavior is being supported by org/apache/poi/poi/3.9/poi-3.9.jar
Hi Cristiano,
unfortunately I haven't had much to do with OSGI up to now. Thus I might
get some of your intentions wrong. But I'd say yes the API is needed. it
stems from poi-ooxml which contains the Office 2007 and beyond code.
This is also where the WorkbookFactory is from.
Regards Christian
More information about the rules-dev
mailing list