org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress
Class JSMinCompressor.JSMin

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin
Enclosing class:
JSMinCompressor

public static class JSMinCompressor.JSMin
extends Object


Constructor Summary
JSMinCompressor.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSMinCompressor.JSMin

public JSMinCompressor.JSMin(InputStream in,
                             OutputStream out)
Method Detail

jsmin

public void jsmin()
           throws IOException,
                  org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin.UnterminatedRegExpLiteralException,
                  org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin.UnterminatedCommentException,
                  org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.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.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin.UnterminatedRegExpLiteralException
org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin.UnterminatedCommentException
org.apache.myfaces.buildtools.maven2.plugin.javascript.jmt.compress.JSMinCompressor.JSMin.UnterminatedStringLiteralException

main

public static void main(String[] arg)


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.