|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.javascript.compress.JSMinCompressor
public class JSMinCompressor
Use the Java version of the JSMin algorithm to compress a set of JS files. For simplicity, the JSMin code (one class) is included in the plugin.
http://www.crockford.com/javascript/jsmin.html| Field Summary |
|---|
| Fields inherited from interface org.codehaus.mojo.javascript.compress.JSCompressor |
|---|
JAVASCRIPT_1_1, JAVASCRIPT_1_2, JAVASCRIPT_1_3, MAX, NONE |
| Constructor Summary | |
|---|---|
JSMinCompressor()
|
|
| Method Summary | |
|---|---|
void |
compress(java.io.File input,
java.io.File output,
int level,
int language)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSMinCompressor()
| Method Detail |
|---|
public void compress(java.io.File input,
java.io.File output,
int level,
int language)
throws CompressionException
compress in interface JSCompressorCompressionExceptionJSCompressor.compress(java.io.File,
java.io.File, int, int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||