static class SampleCmdLine.CmdLine extends MainCmd
MainCmd.Argument, MainCmd.LogMessageImplErrConsole, MainCmd.LogMessageImplFile, MainCmd.SetArgument
Modifier and Type | Field and Description |
---|---|
(package private) SampleCmdLine.Args |
cmdlineArgs |
argList, bHelpIswritten, cmdLineArgs, currdir, dateFormatMsg, errCmdline, fReport, kError_writeInfoDirectly, kInfo_writeInfoDirectly, kInfoln_writeInfoDirectly, kWarning_writeInfoDirectly, listAboutInfo, listHelpInfo, logMessageConsole, logMessageErrConsole, logMessageFile, logMessageImplReport, mError_writeInfoDirectly, mNewln_writeInfoDirectly, msgDisp, mWarning_writeInfoDirectly, nLevelDisplayToReport, nLogLevel, nReportLevelDisplay, outCmdline, sVersion
anytime, eventOrder, exitSuccessfull, exitUserAbort, exitWithArgumentError, exitWithErrors, exitWithFileProblems, exitWithNotes, exitWithWarnings, fineEventOrder, interested, version
dateFormat, debug, error, fineDebug, fineInfo, info, minSecondsFormat, mNeverOutputToDisplay, mReportLevel, warning
Modifier | Constructor and Description |
---|---|
private |
CmdLine(java.lang.String[] argsInput,
SampleCmdLine.Args cmdlineArgs)
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.
|
protected boolean |
testArgument(java.lang.String arg,
int nArg)
Tests one argument.
|
addAboutInfo, addArgument, addHelpInfo, addMsgConfig, addStandardHelpInfo, append, append, append, close, currdir, executeCmdLine, executeCmdLine, executeCmdLine, executeCmdLine, executeCmdLine, executeCmdLine, exit, flush, flushReport, getArgument, getExitErrorLevel, getLogging_ifc, getLogMessageErrorConsole, getLogMessageOutputConsole, getLogMessageOutputFile, getReportFileName, getReportLevel, getReportLevelFromIdent, isOnline, openReportfile, parseArguments, parseArguments, replaceEnv, report, report, reportln, reportln, sendMsg, sendMsgTime, sendMsgTimeToAppendableDst, sendMsgVaList, setcurrdir, setExitErrorLevel, setLogMessageDestination, setOutputChannels, setReportLevel, setReportLevelToIdent, startCmdLine, startCmdLine, switchToWindowOrStartCmdline, writeAboutInfo, writeDirectly, writeError, writeError, writeErrorDirectly, writeHelpInfo, writeInfo, writeInfoln, writeStackTrace, writeWarning, XXXassertion
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
msgSec, timeCurr, timeMsg
final SampleCmdLine.Args cmdlineArgs
private CmdLine(java.lang.String[] argsInput, SampleCmdLine.Args cmdlineArgs)
protected boolean testArgument(java.lang.String arg, int nArg)
testArgument
in class MainCmd
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
callWithoutArguments
in class MainCmd
java.text.ParseException
protected boolean checkArguments()
checkArguments
in class MainCmd