org.apache.tapestry5.internal.yuicompressor
Class CSSResourceMinimizer

java.lang.Object
  extended by org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer
      extended by org.apache.tapestry5.internal.yuicompressor.CSSResourceMinimizer
All Implemented Interfaces:
ResourceMinimizer

public class CSSResourceMinimizer
extends AbstractMinimizer

Uses CssCompressor to reduce the size of CSS content.

Since:
5.3

Field Summary
 
Fields inherited from class org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer
logger, tracker
 
Constructor Summary
CSSResourceMinimizer(org.slf4j.Logger logger, OperationTracker tracker)
           
 
Method Summary
protected  void doMinimize(StreamableResource input, Writer output)
          Implemented in subclasses to do the actual work.
 
Methods inherited from class org.apache.tapestry5.internal.yuicompressor.AbstractMinimizer
minimize, toReader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSResourceMinimizer

public CSSResourceMinimizer(org.slf4j.Logger logger,
                            OperationTracker tracker)
Method Detail

doMinimize

protected void doMinimize(StreamableResource input,
                          Writer output)
                   throws IOException
Description copied from class: AbstractMinimizer
Implemented in subclasses to do the actual work.

Specified by:
doMinimize in class AbstractMinimizer
Parameters:
input - content to minimize
output - writer for minimized version of input
Throws:
IOException


Copyright © 2003-2012 The Apache Software Foundation.