ro.isdc.wro.extensions.processor.js
Class UglifyJsProcessor

java.lang.Object
  extended by ro.isdc.wro.extensions.processor.js.BeautifyJsProcessor
      extended by ro.isdc.wro.extensions.processor.js.UglifyJsProcessor
All Implemented Interfaces:
ResourcePostProcessor, ResourcePreProcessor

@Minimize
@SupportedResourceType(value=JS)
public class UglifyJsProcessor
extends BeautifyJsProcessor

Compress js using uglifyJs utility.

Since:
1.3.1
Author:
Alex Objelean

Field Summary
static String ALIAS_UGLIFY
           
 
Fields inherited from class ro.isdc.wro.extensions.processor.js.BeautifyJsProcessor
ALIAS_BEAUTIFY
 
Constructor Summary
UglifyJsProcessor()
           
 
Method Summary
protected  UglifyJs newEngine()
           
 
Methods inherited from class ro.isdc.wro.extensions.processor.js.BeautifyJsProcessor
onException, process, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ALIAS_UGLIFY

public static final String ALIAS_UGLIFY
See Also:
Constant Field Values
Constructor Detail

UglifyJsProcessor

public UglifyJsProcessor()
Method Detail

newEngine

protected UglifyJs newEngine()
Overrides:
newEngine in class BeautifyJsProcessor
Returns:
new instance of UglifyJs engine.


Copyright © 2008-2013. All Rights Reserved.