Class CommandLine


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

      • CommandLine

        public CommandLine()
    • 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