public class UtilArgs extends Object
Modifier and Type | Method and Description |
---|---|
static String |
argValue(List<String> arguments,
String parameterName)
Return the argument that immediately follows an option name.
|
static void |
removeArgKeyAndValue(List<String> arguments,
String parameterName) |
public static String argValue(List<String> arguments, String parameterName)
--runtime sparkwill return:
spark
arguments
- a list of argumentsparameterName
- parameter name value you wish to getCopyright © 2014–2023. All rights reserved.