Module wicket.bootstrap.extensions
Class YuiCssCompressor
java.lang.Object
de.agilecoders.wicket.extensions.javascript.YuiCssCompressor
- All Implemented Interfaces:
ICssCompressor,ITextResourceCompressor
An adapter for YUI CSS compressor.
To use it the application has to declare dependency to:
and install it with:com.yahoo.platform.yui yuicompressor 2.4.7
org.apache.wicket.settings.IResourceSettings#setCssCompressor(new YuiCompressor)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
YuiCssCompressor
public YuiCssCompressor()Construct.
-
-
Method Details
-
compress
- Specified by:
compressin interfaceITextResourceCompressor
-
getLineBreakPosition
public int getLineBreakPosition()- Returns:
- the line number after which to add a new line character
-
setLineBreakPosition
public void setLineBreakPosition(int lineBreakPosition) - Parameters:
lineBreakPosition- the line number after which to add a new line character
-