Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.html
Class JSMin

java.lang.Object
  extended by org.nuxeo.theme.html.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.nuxeo.theme.html.JSMin.UnterminatedRegExpLiteralException,
                  org.nuxeo.theme.html.JSMin.UnterminatedCommentException,
                  org.nuxeo.theme.html.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.nuxeo.theme.html.JSMin.UnterminatedRegExpLiteralException
org.nuxeo.theme.html.JSMin.UnterminatedCommentException
org.nuxeo.theme.html.JSMin.UnterminatedStringLiteralException

main

public static void main(String[] arg)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.