public class Compressor extends Object
Constructor and Description |
---|
Compressor(String workspace,
Boolean minify) |
Modifier and Type | Method and Description |
---|---|
void |
compressCss() |
void |
compressFonts() |
void |
compressImage() |
void |
compressJs() |
String |
minifyJs(String code,
com.google.javascript.jscomp.CompilationLevel compilationLevel) |
public void compressJs() throws IOException
IOException
public String minifyJs(String code, com.google.javascript.jscomp.CompilationLevel compilationLevel) throws org.mozilla.javascript.EvaluatorException, IOException
org.mozilla.javascript.EvaluatorException
IOException
public void compressFonts() throws IOException
IOException
public void compressImage() throws IOException
IOException
public void compressCss() throws IOException, FileNotFoundException
IOException
FileNotFoundException
Copyright © 2016 JSL Solucoes LTDA. All Rights Reserved.