com.yahoo.platform.yui.compressor
Class JavaScriptCompressor

java.lang.Object
  extended by com.yahoo.platform.yui.compressor.JavaScriptCompressor

public class JavaScriptCompressor
extends java.lang.Object


Constructor Summary
JavaScriptCompressor(java.io.Reader in, ErrorReporter reporter)
           
 
Method Summary
 void compress(java.io.Writer out, int linebreak, boolean munge, boolean verbose, boolean preserveAllSemiColons, boolean disableOptimizations)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptCompressor

public JavaScriptCompressor(java.io.Reader in,
                            ErrorReporter reporter)
                     throws java.io.IOException,
                            EvaluatorException
Throws:
java.io.IOException
EvaluatorException
Method Detail

compress

public void compress(java.io.Writer out,
                     int linebreak,
                     boolean munge,
                     boolean verbose,
                     boolean preserveAllSemiColons,
                     boolean disableOptimizations)
              throws java.io.IOException
Throws:
java.io.IOException