예제 #1
0
 public void exportViolationsReport(File file) {
   Filename filename = new Filename(file, File.separatorChar, '.');
   IValidateService validateService = ServiceProvider.getInstance().getValidateService();
   try {
     validateService.exportViolations(file, filename.getExtension());
   } catch (Exception exception) {
     IControlService controlService = ServiceProvider.getInstance().getControlService();
     controlService.showErrorMessage(exception.getMessage());
   }
 }
예제 #2
0
 public String[] getExportExtensions() {
   IValidateService validateService = ServiceProvider.getInstance().getValidateService();
   return validateService.getExportExtentions();
 }