com.jeantessier.commandline
Interface CommandLineSwitch
- All Superinterfaces:
- Visitable
- All Known Implementing Classes:
- CommandLineSwitchBase
- public interface CommandLineSwitch
- extends Visitable
How the CommandLine
parses and validates the switches
on the command-line.
Methods inherited from interface com.jeantessier.commandline.Visitable |
Accept |
DefaultValue
public java.lang.Object DefaultValue()
Value
public java.lang.Object Value()
Value
public void Value(java.lang.Object new_value)
Present
public boolean Present()
Mandatory
public boolean Mandatory()
Parse
public int Parse(java.lang.String name,
java.lang.String value)
throws CommandLineException