Top Description Fields Constructors Methods
com.sun.enterprise.module.bootstrap

public Class ArgumentManager

extends Object
Class Inheritance
Imports
java.util.*

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

Field Summary

Modifier and TypeField and Description
pack-priv List<String>
pack-priv Properties

Constructor Summary

AccessConstructor and Description
private
ArgumentManager(String[] sargs)

//////////////////////////////////////////////////////////////////////// /// ALL PRIVATE BELOW /////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

private

Method Summary

Modifier and TypeMethod and Description
public static Properties
argsToMap(String[] sargs)

public static Properties
private Properties
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

argsback to summary
pack-priv List<String> args
mapback to summary
pack-priv Properties map

Constructor Detail

ArgumentManagerback to summary
private ArgumentManager(String[] sargs)

//////////////////////////////////////////////////////////////////////// /// ALL PRIVATE BELOW /////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////

ArgumentManagerback to summary
private ArgumentManager(List<String> sargs)

Method Detail

argsToMapback to summary
public static Properties argsToMap(String[] sargs)
argsToMapback to summary
public static Properties argsToMap(List<String> sargs)
getArgsback to summary
private Properties getArgs()