public static class Commandline.Argument extends Object implements Arg
Constructor and Description |
---|
Argument() |
Modifier and Type | Method and Description |
---|---|
boolean |
isMask() |
void |
setFile(File value) |
void |
setLine(String line) |
void |
setMask(boolean mask)
Whether to hide the argument value when a command line prints the arguments.
|
void |
setValue(String value) |
public void setValue(String value)
public void setLine(String line) throws CommandLineException
setLine
in interface Arg
line
- the line of argumentsCommandLineException
- in case of unbalanced quotes.public void setFile(File value)
public void setMask(boolean mask)
public boolean isMask()
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.