org.apache.tapestry5.internal.yuicompressor
Class JavaScriptResourceMinimizer
java.lang.Object
org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer
org.apache.tapestry5.internal.yuicompressor.JavaScriptResourceMinimizer
- All Implemented Interfaces:
- ResourceMinimizer
public class JavaScriptResourceMinimizer
- extends AbstractMinimizer
JavaScript resource minimizer based on the YUI JavaScriptCompressor
.
- Since:
- 5.3
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaScriptResourceMinimizer
public JavaScriptResourceMinimizer(org.slf4j.Logger logger,
OperationTracker tracker)
doMinimize
protected void doMinimize(StreamableResource resource,
Writer output)
throws IOException
- Description copied from class:
AbstractMinimizer
- Implemented in subclasses to do the actual work.
- Specified by:
doMinimize
in class AbstractMinimizer
- Parameters:
resource
- content to minimizeoutput
- writer for minimized version of input
- Throws:
IOException
Copyright © 2003-2012 The Apache Software Foundation.