com.atlassian.confluence.mail
Class BotocssMailContentProcessor
java.lang.Object
com.atlassian.confluence.mail.BotocssMailContentProcessor
- All Implemented Interfaces:
- MailContentProcessor
public class BotocssMailContentProcessor
- extends Object
- implements MailContentProcessor
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.
Method Summary |
String |
process(String input)
Take the supplied input data and process it in some fashion, returning the result. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BotocssMailContentProcessor
public BotocssMailContentProcessor()
process
public String process(String input)
- Description copied from interface:
MailContentProcessor
- 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.
- Specified by:
process
in interface MailContentProcessor
- Parameters:
input
- the content to be processed.
- Returns:
- the processed version of the content or the same content if processing failed.
Copyright © 2003-2012 Atlassian. All Rights Reserved.