com.arsdigita.util.cmd
Class Switch

java.lang.Object
  extended bycom.arsdigita.util.cmd.Switch
Direct Known Subclasses:
BooleanSwitch, FileSwitch, PathSwitch, StringSwitch

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

public abstract class Switch
extends Object

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

Nested Class Summary
static class Switch.Type
          Deprecated.  
 
Field Summary
static Switch.Type FLAG
          Deprecated.  
static Switch.Type PARAMETER
          Deprecated.  
static String versionId
          Deprecated.  
 
Constructor Summary
protected Switch(String name, Switch.Type type, String usage, Object defValue)
          Deprecated.  
 
Method Summary
protected abstract  Object decode(String[] values)
          Deprecated.  
 Object getDefault()
          Deprecated.  
 String getName()
          Deprecated.  
 Switch.Type getType()
          Deprecated.  
 String getUsage()
          Deprecated.  
 String usage()
          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

FLAG

public static final Switch.Type FLAG
Deprecated. 

PARAMETER

public static final Switch.Type PARAMETER
Deprecated. 
Constructor Detail

Switch

protected Switch(String name,
                 Switch.Type type,
                 String usage,
                 Object defValue)
Deprecated. 
Method Detail

getName

public String getName()
Deprecated. 

getType

public Switch.Type getType()
Deprecated. 

getUsage

public String getUsage()
Deprecated. 

usage

public String usage()
Deprecated. 

getDefault

public Object getDefault()
Deprecated. 

decode

protected abstract Object decode(String[] values)
Deprecated. 


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