Should have clarified maybe, I'm using the event model for both classes since I'm processing some fairly large files, is there a WorkbookFactory equivalent for the event model (I couldn't find anything even remotely close in the javadocs) But I've also been known to be wrong many many many times :)
On Mon, Jul 15, 2013 at 11:13 AM, Nick Burch <[email protected]> wrote: > On Mon, 15 Jul 2013, Eric Peters wrote: > >> If you have an InputStream, what's a good best practice for determining >> whether it's a HSSF vs XSSF file? I'm assuming by somehow wrapping the >> InputStream in a BufferedInputStream and marking/resetting before actually >> doing the processing. >> > > WorkbookFactory exists for this very reason! > > Nick > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > [email protected].**org<[email protected]> > For additional commands, e-mail: [email protected] > >
