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, org.mozilla.javascript.ErrorReporter reporter)
           
 
Method Summary
 void compress(java.io.Writer out, int linebreak, boolean munge, boolean warn, boolean preserveAllSemiColons, boolean preserveStringLiterals)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScriptCompressor

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

compress

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


Copyright © 2009. All Rights Reserved.