public class CmdHeader2Reflection extends MainCmd
MainCmd.Argument, MainCmd.SetArgument
Modifier and Type | Field and Description |
---|---|
(package private) Report |
console
Aggregation to the Console implementation class.
|
(package private) Header2Reflection |
main
The main instance to work, also settled outside calling per cmdLine.
|
static int |
revisionInfo
Revision number
2011-04-11: Dependency to the control file: regard it in maker.
|
(package private) java.lang.String |
sFileIn
Cmdline-argument, set on -i option.
|
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
Modifier | Constructor and Description |
---|---|
private |
CmdHeader2Reflection(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.
|
static void |
main(java.lang.String[] args)
main started from java
|
void |
parseArguments(Header2Reflection main,
java.lang.String[] args)
The parseArguments is replaced by a variant with reference to the working class,
using the super.parseArguments() indside.
|
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, 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
public static final int revisionInfo
Report console
Header2Reflection main
java.lang.String sFileIn
private CmdHeader2Reflection(java.lang.String[] args)
public static void main(java.lang.String[] args)
public void parseArguments(Header2Reflection main, java.lang.String[] args) throws java.text.ParseException
java.text.ParseException
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.java.io.FileNotFoundException
protected void callWithoutArguments() throws java.text.ParseException
callWithoutArguments
in class MainCmd
java.text.ParseException
protected boolean checkArguments()
checkArguments
in class MainCmd