IWorksheetStateLoader worksheetViewerStateLoader;
worksheetViewerStateLoader = WorksheetStateLoaderFactory.getInstance().getLoader(encodingFormatVersion);
if (worksheetViewerStateLoader == null) {
throw new SpagoBIEngineException("Unable to load data stored in format [" + encodingFormatVersion + "] ");
}
worksheetStateJSON = (JSONObject) worksheetViewerStateLoader.load(str);
logger.debug("Encoding conversion has been executed succesfully");
}
logger.debug("analysis state loaded succsfully from row data");