return compileFromExcel(stream, DEFAULT_SHEET_NAME);
}
public boolean compileFromExcel(final InputStream stream, final String worksheetName) {
try {
AbstractScorecardParser parser = new XLSScorecardParser();
scorecardErrors = parser.parseFile(stream, worksheetName);
if ( scorecardErrors.isEmpty() ) {
pmmlDocument = parser.getPMMLDocument();
return true;
}
} catch (ScorecardParseException e) {
logger.error(e.getMessage(), e);
} finally {