Interface IScopeAwareTextResourceProcessor

All Superinterfaces:
ITextResourceCompressor
All Known Implementing Classes:
CompositeCssCompressor, CompositeJavaScriptCompressor, CssUrlReplacer

A ITextResourceCompressor that receives the scope class and the resource name as a context information that it can use for the processing of the resource
  • Method Details

    • process

      String process(String input, Class<?> scope, String name)
      Processes/manipulates a text resource.
      Parameters:
      input - The original input to process
      scope - The scope class of the package resource
      name - The name of the package resource
      Returns:
      The processed input