String path = ph.getProperty("archive.path");
assert (null != path);
- if (isAbsolutePath (path)) {
+ if (isAbsolutePath(path)) {
archivepath = path;
} else {
String abspath = ProteoCachePropertyHelperManager.getLocalPath();
}
}
- private boolean isAbsolutePath (String path) {
- return (new File(path).isAbsolute());
+ private boolean isAbsolutePath(String path) {
+ return (new File(path).isAbsolute());
}
-
- private boolean isDirExists (String path) throws IOException {
+
+ private boolean isDirExists(String path) throws IOException {
archive = new File(path);
return archive.getCanonicalFile().isDirectory();
}
-
- public boolean addArchivedJob (ArchivedJob job) {
+ public boolean addArchivedJob(ArchivedJob job) {
return true;
}
-
+
public String createJob(String jobid) {
return archivepath + "/" + jobid + ".tar.gz";
}