File fl = new File(dataDir, file);
if (!fl.isDirectory() && !file.endsWith(".log") && !file.equals("images"))
files.add(fl.toString());
}
Directory dir = new Directory(DataCrow.resourcesDir, true, null);
Collection<String> resources = dir.read();
for (String resource : resources) {
if (resource.toLowerCase().endsWith(DcLanguageResource.suffix))
files.add(resource);
}
Directory directory = new Directory(DataCrow.moduleDir, true, null);
files.addAll(directory.read());
directory = new Directory(DataCrow.imageDir, true, new String[] {"jpg", "jpeg"});
files.addAll(directory.read());
for (String reportDir : new ReportTemplates(true).getFolders()) {
directory = new Directory(reportDir, true, new String[] {"xsl", "xslt"});
files.addAll(directory.read());
}
return files;
}