public class ReadStyles_Loffc
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReadStyles_Loffc.CmdArgs |
| Modifier and Type | Field and Description |
|---|---|
(package private) ReadStyles_Loffc.CmdArgs |
cmdArgs |
org.vishia.msgDispatch.LogMessage |
log
Central possibility to write messages.
|
(package private) RdWrStyle2Text_LOffc |
rwStyle2Text |
private org.vishia.xmlReader.XmlCfg |
xmlCfgStyle |
| Modifier | Constructor and Description |
|---|---|
protected |
ReadStyles_Loffc(ReadStyles_Loffc.CmdArgs cmdArgs) |
| Modifier and Type | Method and Description |
|---|---|
static int |
amain(ReadStyles_Loffc.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() |
static void |
main(java.lang.String[] sArgs)
main for UFBglConv, invoked from cmd line.
|
private java.lang.String |
readXml(java.lang.Object data,
java.io.File fInOdt)
Reads completely the content.xml from the given odt file <::readXml.>
and stores the data in the data instance.
|
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.
|
private void |
writeJavaClasses() |
private void |
writeStyleDetToText(org.vishia.xmlReader.XmlDataNode ndRoot) |
final ReadStyles_Loffc.CmdArgs cmdArgs
public final org.vishia.msgDispatch.LogMessage log
private org.vishia.xmlReader.XmlCfg xmlCfgStyle
RdWrStyle2Text_LOffc rwStyle2Text
protected ReadStyles_Loffc(ReadStyles_Loffc.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(ReadStyles_Loffc.CmdArgs args) throws java.io.IOException
args - prepared cmd line argumentsjava.io.IOExceptionjava.lang.Exception - if unexpected.public int execute()
throws java.io.IOException
java.io.IOExceptionprivate void writeJavaClasses()
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.IOExceptionprivate java.lang.String readXml(java.lang.Object data,
java.io.File fInOdt)
throws java.io.IOException
data - The root node for all XML datafInOdt - the odt file is a zip filejava.io.IOException - for file operationprivate void writeStyleDetToText(org.vishia.xmlReader.XmlDataNode ndRoot)