org.odlabs.wiquery.core.compression
Class YUIStyleSheetCompressor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
YUIStyleSheetCompressor
public YUIStyleSheetCompressor()
compress
public String compress(String original)
- Specified by:
compress
in interface org.apache.wicket.resource.ITextResourceCompressor
Copyright © 2012. All Rights Reserved.