All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.sii.ogham.html.inliner.ImageInliner Maven / Gradle / Ivy

package fr.sii.ogham.html.inliner;

import java.util.List;

/**
 * Interface for all image inliners. There may exist several kind of inliners.
 * For example:
 * 
    *
  • Base64 inliner to convert images to base64 equivalent
  • *
  • Extract images and generate attachments to join to the email
  • *
  • Maybe anything else
  • *
* * @author Aurélien Baudet * */ public interface ImageInliner { /** * Transform the HTML content in order to inline images. * * @param htmlContent * the HTML content that may contain images to inline * @param images * the list of found images to inline * @return the new HTML content with possible associated images to attach to * the mail */ public ContentWithImages inline(String htmlContent, List images); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy