Interface JavascriptMinificationService

All Known Implementing Classes:
GoogleClosureJavascriptMinificationServiceImpl

public interface JavascriptMinificationService
Service that's used to minify Javascript
Author:
Jay Aisenbrey (cja769)
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    minifyJs(String filename, Reader reader, Writer writer)
    Minifies the file in "reader" and writes the minified version to "writer"
  • Method Details

    • minifyJs

      void minifyJs(String filename, Reader reader, Writer writer) throws ResourceMinificationException
      Minifies the file in "reader" and writes the minified version to "writer"
      Parameters:
      filename - Name of the file to be minified
      reader - The original file
      writer - The writer that the minified version of the file in "reader" will be written to
      Throws:
      ResourceMinificationException - Failure to successfully minify the bytes in "reader"