ca.carleton.gcrc.javascript
Class JSMin

java.lang.Object
  extended by ca.carleton.gcrc.javascript.JSMin

public class JSMin
extends Object


Constructor Summary
JSMin(Reader in, Writer 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSMin

public JSMin(Reader in,
             Writer out)
Method Detail

jsmin

public void jsmin()
           throws IOException,
                  ca.carleton.gcrc.javascript.JSMin.UnterminatedRegExpLiteralException,
                  ca.carleton.gcrc.javascript.JSMin.UnterminatedCommentException,
                  ca.carleton.gcrc.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
ca.carleton.gcrc.javascript.JSMin.UnterminatedRegExpLiteralException
ca.carleton.gcrc.javascript.JSMin.UnterminatedCommentException
ca.carleton.gcrc.javascript.JSMin.UnterminatedStringLiteralException

main

public static void main(String[] arg)


Copyright © 2012. All Rights Reserved.