public class JsoupAttachImageInliner extends Object implements ImageInliner
The inlining using attach mode is only applied if the attribute
ImageInlinerConstants.INLINE_MODE_ATTR is set to
ImageInlinerConstants.InlineModes.ATTACH.
| Constructor and Description |
|---|
JsoupAttachImageInliner(IdGenerator idGenerator) |
| Modifier and Type | Method and Description |
|---|---|
ContentWithImages |
inline(String htmlContent,
List<ImageResource> images)
Transform the HTML content in order to inline images.
|
public JsoupAttachImageInliner(IdGenerator idGenerator)
public ContentWithImages inline(String htmlContent, List<ImageResource> images)
ImageInlinerinline in interface ImageInlinerhtmlContent - the HTML content that may contain images to inlineimages - the list of found images to inlineCopyright © 2021. All rights reserved.