Class CompositeCssCompressor

java.lang.Object
org.apache.wicket.resource.CompositeCssCompressor
All Implemented Interfaces:
ICssCompressor, IScopeAwareTextResourceProcessor, ITextResourceCompressor

Used to apply several ICssCompressor to the CSS compression.

Usage:
 CompositeCssCompressor compositeCssCompressor = new CompositeCssCompressor();
 
 compositeCssCompressor.add(new MyCssCompressor());
 compositeCssCompressor.add(new AnotherCssCompressor());
 
 this.getResourceSettings().setCssCompressor(compositeCssCompressor);
 
The compressors can also be given as constructor arguments.
Since:
6.20.0
Author:
Tobias Soloschenko