On Thu, 26 May 2011, Jeff G wrote:
I'm using POI strictly for *reading Excel xls & xlsx *documents. I'm
using this as part of a Java Web Start app with somewhat low bandwidth.
POI is by far my biggest size hog. Is there any way I can reduce the
size of this? Are all these libraries needed? This is what I have...
dom4j, poi, poi-contrib, poi-ooxml, poi-ooxml-schemas, poi-scratchpad,
xmlbeans
If you're just doing excel files, you can ditch poi-scratchpad and
poi-contrib. If you're happy to just work with .xls (not .xlsx), then you
can cut it back to only the main poi jar. If you need to work with .xlsx
files, then you need the xml related jars, the poi-ooxml jar, and the cut
down schemas (poi-ooxml-schemas). You might be able to shrink the
ooxml-schemas file by excluding the word and powerpoint related bits,
ditto cutting out the xwpf and xslf parts of poi-ooxml, not sure how much
that'd save.
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]