org.ztemplates.web.script.javascript
Class JSMin

java.lang.Object
  extended by org.ztemplates.web.script.javascript.JSMin

public class JSMin
extends Object


Constructor Summary
JSMin(InputStream in, OutputStream out)
           
 
Method Summary
 void jsmin()
          jsmin -- Copy the input to the output, deleting the characters which are insignificant to JavaScript.
static void main(String[] arg)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSMin

public JSMin(InputStream in,
             OutputStream out)
Method Detail

jsmin

public void jsmin()
           throws IOException,
                  org.ztemplates.web.script.javascript.JSMin.UnterminatedRegExpLiteralException,
                  org.ztemplates.web.script.javascript.JSMin.UnterminatedCommentException,
                  org.ztemplates.web.script.javascript.JSMin.UnterminatedStringLiteralException
jsmin -- Copy the input to the output, deleting the characters which are insignificant to JavaScript. Comments will be removed. Tabs will be replaced with spaces. Carriage returns will be replaced with linefeeds. Most spaces and linefeeds will be removed.

Throws:
IOException
org.ztemplates.web.script.javascript.JSMin.UnterminatedRegExpLiteralException
org.ztemplates.web.script.javascript.JSMin.UnterminatedCommentException
org.ztemplates.web.script.javascript.JSMin.UnterminatedStringLiteralException

main

public static void main(String[] arg)


Copyright © 2011. All Rights Reserved.