+ public String prepareJobArchiveToWeb() throws IOException {
+ String resultpath = ph.getProperty("archive.web.dir");
+ String thefile = ph.getProperty("archive.path") + '/' + jobfilename;
+ String finalpath = ProteoCachePropertyHelperManager.getLocalPath() + resultpath + '/' + jobfilename;
+ if (Files.isReadable(Paths.get(thefile))) {
+ Files.copy(Paths.get(thefile), Paths.get(finalpath));
+ return resultpath + '/' + jobfilename;
+ }
+ return null;
+ }
+