public class YuiCssCompressor extends Object implements org.apache.wicket.css.ICssCompressor
An adapter for YUI CSS compressor.
To use it the application has to declare dependency to:
com.yahoo.platform.yui yuicompressor 2.4.7
and install it with:
org.apache.wicket.settings.IResourceSettings#setCssCompressor(new YuiCompressor) IResourceSettings.setCssCompressor(org.apache.wicket.css.ICssCompressor)| Constructor and Description |
|---|
YuiCssCompressor()
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
String |
compress(String original) |
int |
getLineBreakPosition() |
void |
setLineBreakPosition(int lineBreakPosition) |
public String compress(String original)
compress in interface org.apache.wicket.resource.ITextResourceCompressorpublic int getLineBreakPosition()
public void setLineBreakPosition(int lineBreakPosition)
lineBreakPosition - the line number after which to add a new line characterCopyright © 2011–2014 AgileCoders. All rights reserved.