soot.util
Class CommandLine
java.lang.Object
|
+--soot.util.CommandLine
- public class CommandLine
- extends java.lang.Object
Field Summary |
protected java.lang.String[] |
args
A copy of the original command line |
protected java.util.ArrayList |
nonOptions
A list of the non-options (Instances of the class String) |
protected java.util.ArrayList |
options
A list of the options (Instances of the class Option) |
Constructor Summary |
CommandLine(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
args
protected java.lang.String[] args
- A copy of the original command line
options
protected java.util.ArrayList options
- A list of the options (Instances of the class Option)
nonOptions
protected java.util.ArrayList nonOptions
- A list of the non-options (Instances of the class String)
CommandLine
public CommandLine(java.lang.String[] args)
completeOptionsCheck
public java.lang.String[] completeOptionsCheck()
- Check if some options are still not checked, and if so,
considers these options as unknown and returns an error
contains
public boolean contains(java.lang.String option)
getLength
public int getLength()
getNonOptionArguments
public java.util.List getNonOptionArguments()
getValue
public java.lang.String getValue()
getValueOf
public java.lang.String getValueOf(java.lang.String option)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object