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.
But other than just looking at file extension, anyone have an idea how I can unify my Excel File Reader to just properly handle the file type. Thanks, Eric
