src/main/java/com/rockagen/commons/util/CmdUtil.java
public static CommandLine parse(Parser parser, Options options,
			String[] arguments, boolean stopAtNonOption) throws ParseException {

		CommandLine line = parser.parse(options, arguments, stopAtNonOption);
		return line;
	}
public static CommandLine parse(Parser parser, Options options,
			String[] arguments, boolean stopAtNonOption) throws ParseException {

		CommandLine line = parser.parse(options, arguments, stopAtNonOption);
		return line;
	}
Return a commandLine object by specifies {@link Parser},{@link Options},
<code>arguments</code>,<code>stopAtNonOption</code>

@param parser
see abstract {@link Parser},and interface
{@link CommandLineParser}
@param options
the <code>Options</code>
@param arguments
the <code>arguments</code>
@param stopAtNonOption
specifies whether to stop interpreting the arguments when a
non option has been encountered and to add them to the
CommandLines args list.
@return the <code>CommandLine</code>
@throws ParseException
ParseException if an error occurs when parsing the arguments.