int id = ClipsDicomConfigStore.parseDumpFileName(name);
if (id >= 0){
tree.put(id, new File(dubpDir, name));
}
}
DicomFileInput input = new DicomFileInput();
for (File file: tree.values()){
try {
ArrayList<DICOMChekup> objects = input.decodeZipFile(file, false);
DICOMDataDump dump = new DICOMDataDump(file, true);
for (DICOMChekup chekup : objects) {
chekup.setOriginalData(dump);
}
Agregator.agregator.onAcceptImp(objects);
} catch (IOException ex) {
ex.printStackTrace();
} catch (DICOMException ex) {
ex.printStackTrace();
} catch (Exception ex) {
ex.printStackTrace();
input = new DicomFileInput();
}
}
}