|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.mail.BotocssMailContentProcessor
public class BotocssMailContentProcessor
Takes a serialized HTML document as input and injects CSS taken from the
<style> tags in to the appropriate elements as inline
style attributes.
<style> tags.
The <style> tags annotated with a
delete-email-style class attribute will also get removed from the
document post-injection. This is in order to reduce the outcoming size of the
mail as Gmail enforces a mail size of lower than 102kB by clipping the mail
on its default view.
| Constructor Summary | |
|---|---|
BotocssMailContentProcessor()
|
|
| Method Summary | |
|---|---|
java.lang.String |
process(java.lang.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 |
| Constructor Detail |
|---|
public BotocssMailContentProcessor()
| Method Detail |
|---|
public java.lang.String process(java.lang.String input)
MailContentProcessor
process in interface MailContentProcessorinput - the content to be processed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||