| Modifier and Type | Class and Description |
|---|---|
protected static class |
TranslateOdtCommon.CommonArgs |
| Modifier and Type | Field and Description |
|---|---|
(package private) GetJavadocLabel |
javadocLabel |
org.vishia.msgDispatch.LogMessage |
log
Central possibility to write messages.
|
| Modifier | Constructor and Description |
|---|---|
protected |
TranslateOdtCommon(org.vishia.msgDispatch.LogMessage log) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLinkFileFromURL(java.lang.String sURL)
Gets the file name of the linked file inside a URL, without extension.
|
java.lang.String |
getLinkNameFromURL(java.lang.String sURL)
Gets the name of the linked file inside a URL, without extension.
|
protected java.lang.String |
searchForReplacingLinkOperationLabel(java.lang.String sHtml,
java.lang.String sTarget,
java.io.File dirBase)
Replace the sTarget with the correct javadoc-operation target if it is an operation written with '(...)',
or also search the given javadoc-operation and check whether it is unique.
|
protected void |
writeBackupFile(java.io.File fOut,
java.io.File dirBack,
java.lang.String sBackExtArg,
TranslateOdtCommon.CommonArgs args)
Writes a backup file for the given output file to generate if the fOut exists.
|
public final org.vishia.msgDispatch.LogMessage log
final GetJavadocLabel javadocLabel
protected TranslateOdtCommon(org.vishia.msgDispatch.LogMessage log)
protected java.lang.String searchForReplacingLinkOperationLabel(java.lang.String sHtml,
java.lang.String sTarget,
java.io.File dirBase)
GetJavadocLabel.idxHtmlFilesAnchors will be gotten,
or the html file will be parsed now, and entered in this index.
sHtml - sTarget - dirBase - public java.lang.String getLinkNameFromURL(java.lang.String sURL)
sURL - for example "../name.ext#Label"public java.lang.String getLinkFileFromURL(java.lang.String sURL)
sURL - for example "../name.ext#Label"protected void writeBackupFile(java.io.File fOut,
java.io.File dirBack,
java.lang.String sBackExtArg,
TranslateOdtCommon.CommonArgs args)
TranslateOdtCommon.CommonArgs.bBackAll an existing backup file will be renamed before
with a current number testing all existing files.fOut - The output file, if exists make a copyargs - arguments