Interface Arg
-
- All Known Implementing Classes:
Commandline.Argument
public interface Arg
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetFile(java.io.File file)voidsetLine(java.lang.String line)voidsetMask(boolean mask)Whether to hide the argument value when a command line prints the arguments.voidsetValue(java.lang.String value)
-
-
-
Method Detail
-
setValue
void setValue(java.lang.String value)
- Parameters:
value- the value to be set
-
setLine
void setLine(java.lang.String line) throws CommandLineException- Parameters:
line- the line of arguments- Throws:
CommandLineException- in case of unbalanced quotes.
-
setFile
void setFile(java.io.File file)
- Parameters:
file- the file to be set
-
setMask
void setMask(boolean mask)
Whether to hide the argument value when a command line prints the arguments.- Parameters:
mask- new state of themaskproperty- Since:
- 0.6
-
-