ca.carleton.gcrc.javascript
Class JSMin
java.lang.Object
ca.carleton.gcrc.javascript.JSMin
public class JSMin
- extends Object
|
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 |
JSMin
public JSMin(Reader in,
Writer out)
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 © 2013. All Rights Reserved.