Class ArgumentManager
java.lang.Object
com.sun.enterprise.module.bootstrap.ArgumentManager
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"
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ArgumentManager
(String[] sargs) private
ArgumentManager
(List<String> sargs) -
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
static Properties
private Properties
getArgs()
-
Field Details
-
map
Properties map -
args
-
-
Constructor Details
-
ArgumentManager
-
ArgumentManager
-
-
Method Details
-
argsToMap
-
argsToMap
-
getArgs
-