org.odlabs.wiquery.core.compression
Class YUIStyleSheetCompressor

java.lang.Object
  extended by org.odlabs.wiquery.core.compression.YUIStyleSheetCompressor
All Implemented Interfaces:
org.apache.wicket.css.ICssCompressor, org.apache.wicket.resource.ITextResourceCompressor

public class YUIStyleSheetCompressor
extends Object
implements org.apache.wicket.css.ICssCompressor

Wicket Javascript StyleSheet implementation which compresses StyleSheet using the YUI Compressor.

To use this class use: Application.getResourceSettings().setCssCompressor(new YUIStyleSheetCompressor());

Author:
Vincent Heet

Constructor Summary
YUIStyleSheetCompressor()
           
 
Method Summary
 String compress(String original)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YUIStyleSheetCompressor

public YUIStyleSheetCompressor()
Method Detail

compress

public String compress(String original)
Specified by:
compress in interface org.apache.wicket.resource.ITextResourceCompressor


Copyright © 2012. All Rights Reserved.