Class VelocityTranslatedDownloadableResource

java.lang.Object
com.atlassian.plugin.webresource.transformer.AbstractTransformedDownloadableResource
com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource
com.atlassian.confluence.plugin.webresource.aui.VelocityTranslatedDownloadableResource
All Implemented Interfaces:
com.atlassian.plugin.servlet.DownloadableResource

public class VelocityTranslatedDownloadableResource extends com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource
Renders Velocity resources - intended for i18n only, not dynamic Velocity content.
  • Constructor Summary

    Constructors
    Constructor
    Description
    VelocityTranslatedDownloadableResource(com.atlassian.plugin.servlet.DownloadableResource nextResource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected CharSequence
    transform(CharSequence originalContent)
     

    Methods inherited from class com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource

    encoding, streamResource

    Methods inherited from class com.atlassian.plugin.webresource.transformer.AbstractTransformedDownloadableResource

    getContentType, getOriginalResource, isResourceModified, serveResource, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • VelocityTranslatedDownloadableResource

      public VelocityTranslatedDownloadableResource(com.atlassian.plugin.servlet.DownloadableResource nextResource)
  • Method Details

    • transform

      protected CharSequence transform(CharSequence originalContent)
      Specified by:
      transform in class com.atlassian.plugin.webresource.transformer.CharSequenceDownloadableResource