Пример #1
0
 private File getDir(Association as) {
   File dir = cache.getCacheRootDir();
   if (called2dir != null) {
     dir = new File(dir, called2dir.getProperty(as.getCalledAET(), calleddefdir));
   }
   if (calling2dir != null) {
     dir = new File(dir, calling2dir.getProperty(as.getCallingAET(), callingdefdir));
   }
   return dir;
 }
Пример #2
0
 private boolean isStgcmtEnabled() {
   return ae.getAETitle() != null && cache.getCacheRootDir() != null;
 }
Пример #3
0
 boolean isStoreFile() {
   return devnull != null || cache.getCacheRootDir() != null;
 }