edu.byu.ece.edif.tools
Class ArgumentAndConstraintManager

java.lang.Object
  extended by edu.byu.ece.edif.tools.ArgumentAndConstraintManager

public class ArgumentAndConstraintManager
extends java.lang.Object

Since:
Created on Jun 29, 2005
Author:
ksm4

Field Summary
protected  java.util.Map _argMap
           
protected  java.util.Vector _mandatoryArgs
           
 
Constructor Summary
ArgumentAndConstraintManager(java.lang.String[] args)
           
 
Method Summary
 boolean containsArgument(java.lang.String flag_)
           
protected  java.lang.String convertToDashlessFlag(java.lang.String flag)
           
 java.util.Set getComplexOptionalArgument(java.lang.String flag_)
           
 java.lang.String getMandatoryArgument(int index)
           
 java.util.Set getSimpleOptionalArgument(java.lang.String flag_)
           
private  void init()
           
 void parseArguments(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_mandatoryArgs

protected java.util.Vector _mandatoryArgs

_argMap

protected java.util.Map _argMap
Constructor Detail

ArgumentAndConstraintManager

public ArgumentAndConstraintManager(java.lang.String[] args)
Method Detail

init

private void init()

containsArgument

public boolean containsArgument(java.lang.String flag_)

convertToDashlessFlag

protected java.lang.String convertToDashlessFlag(java.lang.String flag)

getComplexOptionalArgument

public java.util.Set getComplexOptionalArgument(java.lang.String flag_)

getMandatoryArgument

public java.lang.String getMandatoryArgument(int index)

getSimpleOptionalArgument

public java.util.Set getSimpleOptionalArgument(java.lang.String flag_)

parseArguments

public void parseArguments(java.lang.String[] args)