From: jprocter Date: Fri, 11 Nov 2005 18:07:39 +0000 (+0000) Subject: basics of arhiveWriter X-Git-Tag: Release_0.2~428 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b9476960f6d983575f3a435e69cd105dc0faf868;p=vamsas.git basics of arhiveWriter git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@92 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/client/simpleclient/VamsasArchive.java b/src/org/vamsas/client/simpleclient/VamsasArchive.java new file mode 100644 index 0000000..e008464 --- /dev/null +++ b/src/org/vamsas/client/simpleclient/VamsasArchive.java @@ -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; + } + +}