private static class Filecmd.Cmdline extends MainCmd
MainCmd.Argument, MainCmd.SetArgument
Modifier and Type | Field and Description |
---|---|
(package private) Filecmd.Cargs |
cargs |
argList, bHelpIswritten, cmdLineArgs, currdir, dateFormatMsg, errCmdline, fReport, kError_writeInfoDirectly, kInfo_writeInfoDirectly, kInfoln_writeInfoDirectly, kWarning_writeInfoDirectly, listAboutInfo, listHelpInfo, 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
Constructor and Description |
---|
Cmdline(Filecmd.Cargs cargs) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkArguments()
Checks the arguments after parsing from command line, test of consistence.
|
protected boolean |
testArgument(java.lang.String argc,
int nArg)
Tests one argument, called from parseArguments() on every argument excluding standard arguments -r and -rlevel.
|
addAboutInfo, addArgument, addHelpInfo, addMsgConfig, addStandardHelpInfo, append, append, append, callWithoutArguments, 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, 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 Filecmd.Cargs cargs
Cmdline(Filecmd.Cargs cargs)
protected boolean checkArguments()
MainCmd
checkArguments
in class MainCmd
protected boolean testArgument(java.lang.String argc, int nArg)
MainCmd
#setArgumentList(Argument[])
testArgument
in class MainCmd
argc
- The argument to testnArg
- number of argument, the first argument is numbered with 1.