Class BotoCssInliner

java.lang.Object
com.atlassian.jira.mail.BotoCssInliner
All Implemented Interfaces:
CssInliner

public class BotoCssInliner extends Object implements CssInliner
Default implementation of CssInliner.

Note: Be aware that CachingJiraHomeTemplateContentLoaderImpl provides additional layer of caching, while loading files from Jira Home templates directory.

  • Field Details

    • cssFilenames

      protected final com.google.common.collect.ImmutableList<String> cssFilenames
  • Constructor Details

  • Method Details

    • applyStyles

      public String applyStyles(String html)
      Description copied from interface: CssInliner
      Returns html passed as a parameter with CSS rules injected inline
      Specified by:
      applyStyles in interface CssInliner
      Parameters:
      html - the html to be transformed
      Returns:
      the same html but with the styles css inlined.