Liferay 7.0-ce-b4

com.liferay.portal.minifier
Class GoogleJavaScriptMinifier

java.lang.Object
  extended by com.liferay.portal.minifier.GoogleJavaScriptMinifier
All Implemented Interfaces:
JavaScriptMinifier

public class GoogleJavaScriptMinifier
extends Object
implements JavaScriptMinifier


Constructor Summary
GoogleJavaScriptMinifier()
           
 
Method Summary
 String compress(String resourceName, String content)
           
protected  void setCompileOptions(com.google.javascript.jscomp.CompilerOptions compilerOptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GoogleJavaScriptMinifier

public GoogleJavaScriptMinifier()
Method Detail

compress

public String compress(String resourceName,
                       String content)
Specified by:
compress in interface JavaScriptMinifier

setCompileOptions

protected void setCompileOptions(com.google.javascript.jscomp.CompilerOptions compilerOptions)

Liferay 7.0-ce-b4