outputStream.write(message.getBytes());
return;
}
try {
ReportElement reportElement = (ReportElement) reportUnmarshaller.unmarshal
(new File(AppData.getReportsDirectory() + reportPath + ".xml"));
Report report = new Report(reportElement, reportPath);
reports.put(reportPath, report);
String message = "Successfully loaded report at path " + reportPath + "\n\r";
outputStream.write(message.getBytes());