basics of arhiveWriter
authorjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 11 Nov 2005 18:07:39 +0000 (18:07 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Fri, 11 Nov 2005 18:07:39 +0000 (18:07 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@92 be28352e-c001-0410-b1a7-c7978e42abec

src/org/vamsas/client/simpleclient/VamsasArchive.java [new file with mode: 0644]

diff --git a/src/org/vamsas/client/simpleclient/VamsasArchive.java b/src/org/vamsas/client/simpleclient/VamsasArchive.java
new file mode 100644 (file)
index 0000000..e008464
--- /dev/null
@@ -0,0 +1,29 @@
+package org.vamsas.client.simpleclient;
+
+import java.io.File;
+import java.util.jar.JarOutputStream;
+
+/**
+ * Class for creating a vamsas archive
+ * (with backups) 
+ * @author jimp
+ *
+ */
+public class VamsasArchive {
+  java.io.File archive;
+  java.io.File backup=null;
+  boolean vamsasdocument=true;  // make a document archive (rather than a vamsas.xml archive)
+  JarOutputStream newarchive=null;
+  /**
+   * Create a new vamsas archive
+   * @param archive - file spec for new vamsas archive
+   * @param vamsasdocument true if archive is to be a fully fledged vamsas document archive
+   */
+  public VamsasArchive(File archive, boolean vamsasdocument) {
+    super();
+    this.archive = archive;
+    
+    this.vamsasdocument = vamsasdocument;
+  }
+  
+}