public class CommandLineSupport
extends java.lang.Object
| Constructor and Description |
|---|
CommandLineSupport() |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
convertOptionToPropertyName(java.lang.String name)
converts strings like: test-enabled to testEnabled
|
static java.lang.String[] |
setOptions(java.lang.Object target,
java.lang.String[] args)
Sets the properties of an object given the command line args.
|
public static java.lang.String[] setOptions(java.lang.Object target,
java.lang.String[] args)
target - the object that will have it's properties setargs - the command line optionsprivate static java.lang.String convertOptionToPropertyName(java.lang.String name)
name -