private static class SocketTester.CmdLine
extends MainCmd
Modifier and Type | Field and Description |
---|---|
(package private) SocketTester.CmdArgs |
args |
Constructor and Description |
---|
CmdLine(java.lang.String[] args)
Constructor of the main class.
|
Modifier and Type | Method and Description |
---|---|
protected void |
callWithoutArguments()
Invoked from parseArguments if no argument is given.
|
protected boolean |
checkArguments()
Checks the cmdline arguments relation together.
|
boolean |
testArgument(java.lang.String arg,
int nArg)
Tests one argument.
|
(package private) void |
testStringBufferFormat() |
SocketTester.CmdArgs args
CmdLine(java.lang.String[] args)
void testStringBufferFormat()
public boolean testArgument(java.lang.String arg, int nArg)
argc
- String of the actual parsed argument from cmd linenArg
- number of the argument in order of the command line, the first argument is number 1.protected void callWithoutArguments() throws java.text.ParseException
java.text.ParseException
protected boolean checkArguments()