Package com.ibm.wala.util.io
Class CommandLine
- java.lang.Object
-
- com.ibm.wala.util.io.CommandLine
-
public class CommandLine extends java.lang.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 java.util.Properties
parse(java.lang.String[] args)
create a Properties object representing the properties set by the command line args.
-
-
-
Method Detail
-
parse
public static java.util.Properties parse(java.lang.String[] args) throws java.lang.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:
java.lang.IllegalArgumentException
- if args == null
-
-