public class CommandLineParams
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
| Constructor and Description |
|---|
CommandLineParams(java.lang.String commandLineParams)
Constructs a new
CommandLineParams object. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String variable)
Gets the value of a session variable.
|
java.util.Set<java.lang.String> |
getKeys()
Gets the keys of all of the params.
|
public CommandLineParams(@Nullable java.lang.String commandLineParams)
CommandLineParams object.commandLineParams - A URL-encoded string of command-line
parameters.@Nullable public java.lang.String get(@Nullable java.lang.String variable)
variable - The name of the variable.public java.util.Set<java.lang.String> getKeys()
Enumeration containing all of the keys.