From: jprocter Date: Fri, 13 Jan 2006 16:05:24 +0000 (+0000) Subject: added command line definition X-Git-Tag: Release_0.2~400 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=d98e5e4af563bc21960bf07f88fde8f8a593f102;p=vamsas.git added command line definition git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@120 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/src/org/vamsas/test/simpleclient/ArchiveWriter.java b/src/org/vamsas/test/simpleclient/ArchiveWriter.java index f7314fd..cfba99b 100644 --- a/src/org/vamsas/test/simpleclient/ArchiveWriter.java +++ b/src/org/vamsas/test/simpleclient/ArchiveWriter.java @@ -7,6 +7,7 @@ import java.io.PrintWriter; import java.text.DateFormat; import java.util.Date; import java.util.Hashtable; +import java.util.Vector; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -137,6 +138,14 @@ public class ArchiveWriter { return true; // success } + private static CommandProcessor cproc; + static { + cproc.addCommand("new", 0, "no args"); + cproc.addCommand("add", 1, "Need another vamsas document archive filename as argument."); + cproc.addCommand("repair", 0, "no args"); + cproc.addCommand("list", 0, "no args"); + cproc.addCommand("monitor", 0, "no args"); + } public static void main(String argv[]) { /**