public class

BotocssMailContentProcessor

extends Object
implements MailContentProcessor
java.lang.Object
   ↳ com.atlassian.confluence.mail.BotocssMailContentProcessor

Class Overview

Takes an HTML string as input and injects CSS in to the appropriate elements as inline style attributes. This is largely for compatibility with GMail and a few other email clients who do not parse stylesheet links or HTML <style> tags.

Summary

Public Constructors
BotocssMailContentProcessor()
Public Methods
String process(String input)
Take the supplied input data and process it in some fashion, returning the result.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.mail.MailContentProcessor

Public Constructors

public BotocssMailContentProcessor ()

Public Methods

public String process (String input)

Take the supplied input data and process it in some fashion, returning the result. If the processing fails then input should be returned as the result.

Parameters
input the content to be processed.
Returns
  • the processed version of the content or the same content if processing failed.