org.inconspicuous.jsmin
Class JSMin
java.lang.Object
org.inconspicuous.jsmin.JSMin
public class JSMin
- extends java.lang.Object
Constructor Summary |
JSMin(java.io.InputStream in,
java.io.OutputStream out)
|
Method Summary |
void |
jsmin()
jsmin -- Copy the input to the output, deleting the characters which are
insignificant to JavaScript. |
static void |
main(java.lang.String[] arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JSMin
public JSMin(java.io.InputStream in,
java.io.OutputStream out)
jsmin
public void jsmin()
throws java.io.IOException,
org.inconspicuous.jsmin.JSMin.UnterminatedRegExpLiteralException,
org.inconspicuous.jsmin.JSMin.UnterminatedCommentException,
org.inconspicuous.jsmin.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:
java.io.IOException
org.inconspicuous.jsmin.JSMin.UnterminatedRegExpLiteralException
org.inconspicuous.jsmin.JSMin.UnterminatedCommentException
org.inconspicuous.jsmin.JSMin.UnterminatedStringLiteralException
main
public static void main(java.lang.String[] arg)
Copyright © 2011 SOFTEC sa. All Rights Reserved.