class ImageCidEmbedment extends Object
Modifier and Type | Field and Description |
---|---|
private FilesService |
fileService |
private static Logger |
log |
Constructor and Description |
---|
ImageCidEmbedment(FilesService fileService) |
Modifier and Type | Method and Description |
---|---|
String |
embedImage(org.apache.commons.mail.HtmlEmail email,
URL url,
String name)
Embed any image type (external URL, file repository and plugin resource).
|
org.jsoup.nodes.Document |
embedImages(org.apache.commons.mail.HtmlEmail email,
String body)
Embed all images of body.
|
private final FilesService fileService
public ImageCidEmbedment(FilesService fileService)
public org.jsoup.nodes.Document embedImages(org.apache.commons.mail.HtmlEmail email, String body) throws org.apache.commons.mail.EmailException, IOException
org.apache.commons.mail.EmailException
IOException
public String embedImage(org.apache.commons.mail.HtmlEmail email, URL url, String name) throws org.apache.commons.mail.EmailException
org.apache.commons.mail.EmailException
Copyright © 2015. All Rights Reserved.