public final class ImageCopier extends Object
Modifier and Type | Method and Description |
---|---|
static void |
copyImages(String docType,
String baseName,
AbstractDocbkxMojo mojo)
Copy images from source to destination.
|
static void |
copyImages(String docType,
String baseName,
String documentSrcName,
File sourceDirectory,
File outputDirectory)
Copy images from source to destination.
|
public static void copyImages(String docType, String baseName, AbstractDocbkxMojo mojo) throws IOException
docType
- Type of output document,
such as epub
or html
baseName
- Directory name to add, such as index
.
Leave null or empty when not adding a directory name.mojo
- Mojo holding configuration information.IOException
- Something went wrong copying images.public static void copyImages(String docType, String baseName, String documentSrcName, File sourceDirectory, File outputDirectory) throws IOException
DocBook XSL does not copy the images, because XSL does not have a facility for copying files. Unfortunately, neither does docbkx-tools.
docType
- Type of output document,
such as epub
or html
baseName
- Directory name to add, such as index
.
Leave null or empty when not adding a directory name.documentSrcName
- Top-level DocBook XML document source name,
such as index.xml
.sourceDirectory
- Base directory for DocBook XML sources.outputDirectory
- Base directory where the output is found.IOException
- Something went wrong copying images.Copyright © 2025 Open Identity Platform Community. All rights reserved.