public class InlineImageTranslator extends Object implements ContentTranslator
| Constructor and Description |
|---|
InlineImageTranslator(ImageInliner inliner,
ResourceResolver resourceResolver,
MimeTypeProvider mimetypeProvider,
RelativePathResolver relativePathProvider) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
Content |
translate(Content content)
Transform the content into a new one.
|
public InlineImageTranslator(ImageInliner inliner, ResourceResolver resourceResolver, MimeTypeProvider mimetypeProvider, RelativePathResolver relativePathProvider)
public Content translate(Content content) throws ContentTranslatorException
ContentTranslatortranslate in interface ContentTranslatorcontent - the content to transformContentTranslatorException - when the transformation has failedCopyright © 2021. All rights reserved.