Class CommandLine

java.lang.Object
com.ibm.wala.util.io.CommandLine

public class CommandLine extends Object
utilities for parsing a command line
  • Constructor Details

    • CommandLine

      public CommandLine()
  • Method Details

    • 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