243244245246247248249250251252
writer.write(getScanReport()); } } private String getScanReport() throws Exception { ReportLastScan report = new ReportLastScan(); StringBuilder rpt = new StringBuilder(); report.generate(rpt, getModel()); return rpt.toString(); }