private Spreadsheet readContent( String _fileName, InputStream _inputStream ) throws SpreadsheetException
{
final SpreadsheetBuilder spreadsheetBuilder = new SpreadsheetBuilder( ComputationMode.OPEN_OFFICE_CALC );
try {
final SpreadsheetParser spreadsheetParser = new SpreadsheetParser( spreadsheetBuilder, this.config );
final Parser parser = new Parser( Collections.singletonMap( XMLConstants.Office.SPREADSHEET, spreadsheetParser ) );
parser.parse( _inputStream );
}
catch (XMLStreamException e) {
final Throwable nestedException = e.getNestedException();