public class C2DataDeps extends MainCmd
MainCmd.Argument, MainCmd.SetArgument| Modifier and Type | Field and Description |
|---|---|
(package private) Report |
console
Aggregation to the Console implementation class.
|
private java.util.List<FileFunctions.FileAndBasePath> |
listFileIn
Input files.
|
protected java.util.List<ZbnfParseResultItem> |
listParsed |
private ZbnfParser |
parser
The parser.
|
static int |
revisionInfo
Revision number
2012-06-08: Creation, adapted from Header2Reflection!
|
(package private) java.lang.String |
sFileIn
Cmdline-argument, set on -i option.
|
private java.lang.String |
sFileZbnf |
private java.lang.String |
sOutDir |
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 |
C2DataDeps(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.
|
(package private) void |
execute() |
(package private) boolean |
init() |
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.
|
(package private) boolean |
parseCfile(java.io.File headerFile) |
(package private) boolean |
setOutDir(java.lang.String sFile) |
(package private) void |
stop()
Helper method for debugging.
|
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
final Report console
private final java.util.List<FileFunctions.FileAndBasePath> listFileIn
private ZbnfParser parser
private java.lang.String sFileZbnf
private java.lang.String sOutDir
protected java.util.List<ZbnfParseResultItem> listParsed
java.lang.String sFileIn
private C2DataDeps(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 MainCmdboolean setOutDir(java.lang.String sFile)
boolean init()
throws java.nio.charset.IllegalCharsetNameException,
java.nio.charset.UnsupportedCharsetException,
java.io.FileNotFoundException,
java.io.IOException
java.nio.charset.IllegalCharsetNameExceptionjava.nio.charset.UnsupportedCharsetExceptionjava.io.FileNotFoundExceptionjava.io.IOExceptionvoid execute()
boolean parseCfile(java.io.File headerFile)
void stop()