public class WriteKeyAccl
extends java.lang.Object
XmlJzReader usage in an application.
Because the intrinsic processing of the read data is not part of this class.
It is called in only one line in execute(): 'WriteKeyAcclPrc.exec(...)'.
This line and the used 'XmlDataLOffcKeyAccl_Zbnf data' also only in execute()
should be exchanged.
XmlJzCfgAnalyzer
or also https://vishia.org/Java/html/RWTrans/XmlJzReader.html.
Replace with your configuration file for XmlCfg.
WriteKeyAcclPrc, see there.| Modifier and Type | Class and Description |
|---|---|
static class |
WriteKeyAccl.CmdArgs |
| Modifier and Type | Field and Description |
|---|---|
(package private) WriteKeyAccl.CmdArgs |
cmdArgs
All command arguments after command line evaluation with
Arguments. |
private WriteKeyAcclPrc |
evalPrc
The class instance which is responsible to the evaluation of the XML parsing result.
|
private org.vishia.xmlReader.XmlCfg |
xmlCfg
XmlCfg how to read the xml file, prepared for
XmlCfg.readCfgFile(File, LogMessage) |
private org.vishia.xmlReader.XmlJzReader |
xmlReader
Instance of the xmlReader used with the
xmlCfg |
| Constructor and Description |
|---|
WriteKeyAccl(WriteKeyAccl.CmdArgs cmdArgs) |
| Modifier and Type | Method and Description |
|---|---|
static int |
amain(WriteKeyAccl.CmdArgs args)
main for this class, with given prepared arguments
Does not catch unexpected exceptions and does not System.exit(...), use it to execute in a Java environment.
|
int |
execute()
Executes read the XML file and calls the evaluation: 'WriteKeyAcclPrc.exec(...)'
This can be used as template for applications which uses the XmlJzReader |
static void |
main(java.lang.String[] sArgs)
main for UFBglConv, invoked from cmd line.
|
static int |
smain(java.lang.String[] sArgs,
java.lang.Appendable logHelp,
java.lang.Appendable logError)
main gets the arguments as String,
but does not catch unexpected exceptions and does not System.exit(...), use it to execute in a Java environment.
|
final WriteKeyAccl.CmdArgs cmdArgs
Arguments.private org.vishia.xmlReader.XmlCfg xmlCfg
XmlCfg how to read the xml file, prepared for
XmlCfg.readCfgFile(File, LogMessage)private org.vishia.xmlReader.XmlJzReader xmlReader
xmlCfgprivate final WriteKeyAcclPrc evalPrc
public WriteKeyAccl(WriteKeyAccl.CmdArgs cmdArgs)
public static void main(java.lang.String[] sArgs)
sArgs - public static int smain(java.lang.String[] sArgs,
java.lang.Appendable logHelp,
java.lang.Appendable logError)
throws java.io.IOException
sArgs - java.io.IOExceptionjava.lang.Exception - if unexpected.public static int amain(WriteKeyAccl.CmdArgs args) throws java.io.IOException
args - prepared cmd line argumentsjava.io.IOExceptionjava.lang.Exception - if unexpected.public int execute()
throws java.io.IOException
XmlJzReaderjava.io.IOException - for file problems.