public final class OLinkUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
createTargetDatabase(File file,
String format,
AbstractDocbkxMojo mojo)
Construct an olink target database document, except for chunked HTML.
|
static void |
createTargetDatabase(File file,
String format,
AbstractDocbkxMojo mojo,
boolean isChunkedHtml)
Construct an olink target database document for chunked HTML.
|
public static void createTargetDatabase(File file, String format, AbstractDocbkxMojo mojo) throws IOException, org.apache.maven.plugin.MojoExecutionException
<targetDatabaseDocument>
parameter.file
- The file in which to write the target database.format
- Output format such as pdf
, html
.mojo
- Mojo with configuration information about the project.IOException
- Failed to write to the target database file.org.apache.maven.plugin.MojoExecutionException
- Failed to read document names from the mojo.public static void createTargetDatabase(File file, String format, AbstractDocbkxMojo mojo, boolean isChunkedHtml) throws IOException, org.apache.maven.plugin.MojoExecutionException
<targetDatabaseDocument>
parameter.file
- The file in which to write the target database.format
- Output format such as pdf
, html
.mojo
- Mojo with configuration information about the project.isChunkedHtml
- Set true
for chunked HTML.IOException
- Failed to write to the target database file.org.apache.maven.plugin.MojoExecutionException
- Failed to read document names from the mojo.Copyright © 2025 Open Identity Platform Community. All rights reserved.