public class Parameters extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String key)
Returns true if key is one of the parameters.
|
String |
get(String key)
Returns the value of the specified parameter, or null if there is no such key.
|
static Parameters |
getInstance()
Returns the singleton.
|
static void |
setParameters(String[] args,
String[] reqdKeys,
String[] optionalKeys)
Sets the command-line arguments.
|
public static void setParameters(String[] args, String[] reqdKeys, String[] optionalKeys)
public static Parameters getInstance()
public boolean contains(String key)
Copyright © 2024. All rights reserved.