|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.github.bringking.maven.less.MavenLessCompiler
public class MavenLessCompiler
Optimizes js files.
| Constructor Summary | |
|---|---|
MavenLessCompiler(Boolean isNode)
|
|
| Method Summary | |
|---|---|
void |
compileLess(File inputFile,
org.mozilla.javascript.ErrorReporter reporter,
Runner runner)
Optimize using an external version of r.js. |
void |
compileLess(File inputFile,
File outputFile,
org.mozilla.javascript.ErrorReporter reporter,
Runner runner,
Boolean minify)
Optimize using an external version of r.js. |
void |
unZipIt(InputStream stream,
File dest)
Unzip it |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MavenLessCompiler(Boolean isNode)
| Method Detail |
|---|
public void compileLess(File inputFile,
File outputFile,
org.mozilla.javascript.ErrorReporter reporter,
Runner runner,
Boolean minify)
throws IOException,
CompilationException
inputFile - input less fileoutputFile - output css filereporter - error reporterrunner - Runner which will execute the less compilerminify - should output be minified
IOException - if there is a problem reading/writing less files
CompilationException - if the less compiler returns an error status
public void compileLess(File inputFile,
org.mozilla.javascript.ErrorReporter reporter,
Runner runner)
throws IOException,
CompilationException
inputFile - input less filereporter - error reporterrunner - Runner which will execute the less compiler
IOException - if there is a problem reading/writing less files
CompilationException - if the less compiler returns an error status
public void unZipIt(InputStream stream,
File dest)
stream - input zip filedest - ztp file output folder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||