testArgument
protected final boolean testArgument(java.lang.String arg,
int nArg)
throws java.io.FileNotFoundException
Tests one argument. This method is invoked from parseArgument.
It overrides the Arguments#testArgument(String, int)
for specific tests here. The superclass testArgument(...) is called if no argument matches here.
This operation is called from Arguments#parseArgs(String[], Appendable)
which is called from the user level.
- Overrides:
testArgument
in class GuiCallingArgs
- Parameters:
arg
- String of the actual parsed argument from cmd line
nArg
- number of the argument in order of the command line, the first argument is number 1.
- Returns:
- true is okay,
false if the argument doesn't match. The parseArgument method in MainCmd throws an exception,
the application should be aborted.
- Throws:
java.io.FileNotFoundException