public class Input extends Object
Modifier and Type | Method and Description |
---|---|
String |
firstParameter() |
AbstractCommand |
getCommand() |
String |
getOption() |
String[] |
getParameters() |
String |
lastParameter() |
List<String> |
listParameters() |
int |
parameterNumber() |
String |
printCommandFields() |
String |
secondParameter() |
void |
setOption(String option) |
String |
thirdParameter() |
static Pair<String,String> |
toPairParameter(String parameter) |
public static Pair<String,String> toPairParameter(String parameter) throws IllegalArgumentException
IllegalArgumentException
public AbstractCommand getCommand()
public void setOption(String option)
public String getOption()
public String[] getParameters()
public String firstParameter()
public String secondParameter()
public String thirdParameter()
public String lastParameter()
public int parameterNumber()
public String printCommandFields()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.