Class ArgumentManager
- java.lang.Object
-
- com.sun.enterprise.module.bootstrap.ArgumentManager
-
public class ArgumentManager extends Object
API -- For now sticking with the draft1 API and behavior This class will be handy for fixing error detection of bad input as below. -name1 value1 -name2 value2 value3 value4 value5 -name3 -name4 -name5 --> "-name1":"value1", "-name2":"value2", "default":"value5", "-name3":"-name4"- Author:
- bnevins
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
argsToMap(String[] sargs)
static Properties
argsToMap(List<String> sargs)
-
-
-
Method Detail
-
argsToMap
public static Properties argsToMap(String[] sargs)
-
argsToMap
public static Properties argsToMap(List<String> sargs)
-
-