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, sVersionanytime, eventOrder, exitSuccessfull, exitUserAbort, exitWithArgumentError, exitWithErrors, exitWithFileProblems, exitWithNotes, exitWithWarnings, fineEventOrder, interested, versiondateFormat, 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, writeError, writeErrorAdd, writeErrorDirectly, writef, writeHelpInfo, writeInfo, writeInfo, writeInfoAdd, writeInfoln, writeStackTrace, writeWarning, writeWarning, writeWarningAdd, XXXassertionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmsgSec, timeCurr, timeMsgpublic 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.ParseExceptionprotected boolean testArgument(java.lang.String arg,
int nArg)
testArgument in class MainCmdargc - 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.FileNotFoundExceptionprotected void callWithoutArguments()
throws java.text.ParseException
callWithoutArguments in class MainCmdjava.text.ParseExceptionprotected boolean checkArguments()
checkArguments in class MainCmd