public interface SpincastJsClosureCompilerManager
| Modifier and Type | Method and Description |
|---|---|
String |
compile(File jsFile,
List<String> args)
Compile/Minify a js file.
|
String |
compile(File jsFile,
String... args)
Compile/Minify a js file.
|
String |
compile(List<File> jsFiles,
List<String> args)
Compile/minify multiple .js files
at a time and concatenate the result.
|
String |
compile(List<File> jsFiles,
String... args)
Compile/minify multiple .js files
at a time and concatenate the result.
|
String |
compile(String jsContent,
List<String> args)
Compile/Minify javascript content, as a String.
|
String |
compile(String jsContent,
String... args)
Compile/Minify javascript content, as a String.
|
String |
compileCustom(List<String> args)
Compile/Minify js/js files.
|
String |
compileCustom(String... args)
Compile/Minify js/js files.
|
String compile(String jsContent, String... args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compile(String jsContent, List<String> args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compile(File jsFile, String... args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compile(File jsFile, List<String> args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compile(List<File> jsFiles, String... args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compile(List<File> jsFiles, List<String> args)
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compileCustom(String... args)
In other words, the executed command will be:
java -jar closure-compiler.jar [ARGS]
and you have to specify all the "[ARGS]".
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
String compileCustom(List<String> args)
In other words, the executed command will be:
java -jar closure-compiler.jar [ARGS]
and you have to specify all the "[ARGS]".
Read the options documentation.
Note that you cannot use the "--js_output_file" option. The method will take care of it by itself.
Copyright © 2019. All rights reserved.