Interface ITextResourceCompressor

All Known Subinterfaces:
ICssCompressor, IJavaScriptCompressor, IScopeAwareTextResourceProcessor
All Known Implementing Classes:
CompositeCssCompressor, CompositeJavaScriptCompressor, CssUrlReplacer, DefaultJavaScriptCompressor, NoOpTextCompressor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Allow for different implementations of a text compressor
  • Method Summary

    Modifier and Type
    Method
    Description
    compress(String original)
    Remove comments and white spaces from the text resource
  • Method Details

    • compress

      String compress(String original)
      Remove comments and white spaces from the text resource
      Parameters:
      original -
      Returns:
      compressed text resource