poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54982] [PATCH] ExtractorFactory does not close files when extracting via OCPPackage.open()
Date Thu, 16 May 2013 11:40:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54982

--- Comment #1 from Nick Burch <apache@gagravarr.org> ---
I'm not sure this'll work, as some of the extractors (eg
XSSFEventBasedExcelExtractor, or fetching the properties extractor) will still
need access to the OPCPackage during their processing of the file. If we close
the package during the create call, these would then break when you tried to
get the text / properties

Also, ExtractorFactory and the associated classes don't receive a lot of work
at the moment, almost all the text extraction effort goes into Apache Tika. You
might want to switch to Tika instead, that uses POI but now generally has
better support + cleaner ways of dealing with temporary resoures

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message