Package com.ibm.wala.util.io
Class CommandLine
- java.lang.Object
-
- com.ibm.wala.util.io.CommandLine
-
public class CommandLine extends Object
utilities for parsing a command line
-
-
Constructor Summary
Constructors Constructor Description CommandLine()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
parse(String[] args)
create a Properties object representing the properties set by the command line args.
-
-
-
Method Detail
-
parse
public static Properties parse(String[] args) throws IllegalArgumentException
create a Properties object representing the properties set by the command line args. if args[i] is "-foo" and args[i+1] is "bar", then the result will define a property with key "foo" and value "bar"- Throws:
IllegalArgumentException
- if args == null
-
-