com.arsdigita.util.cmd
Class CommandLine

java.lang.Object
  extended bycom.arsdigita.util.cmd.CommandLine

Deprecated. Use CLI (http://jakarta.apache.org/commons/cli/index.html) instead.

public class CommandLine
extends Object

Version:
$Revision: #7 $ $Date: 2004/04/07 $
Author:
rhs@mit.edu

Field Summary
static String versionId
          Deprecated.  
 
Constructor Summary
CommandLine(String name, String usage)
          Deprecated.  
 
Method Summary
 void addSwitch(Switch s)
          Deprecated.  
 Switch getSwitch(String name)
          Deprecated.  
 String[] parse(Map result, String[] argv)
          Deprecated.  
 String usage()
          Deprecated.  
 String usage(String name)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

CommandLine

public CommandLine(String name,
                   String usage)
Deprecated. 
Method Detail

addSwitch

public void addSwitch(Switch s)
Deprecated. 

getSwitch

public Switch getSwitch(String name)
Deprecated. 

parse

public String[] parse(Map result,
                      String[] argv)
Deprecated. 

usage

public String usage()
Deprecated. 

usage

public String usage(String name)
Deprecated. 


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC