public class LessPackageResource
extends org.apache.wicket.request.resource.CssPackageResource
A package resource that uses a custom IResourceStream to load Less content but return CSS content generated out of it.
org.apache.wicket.request.resource.PackageResource.PackageResourceBlockedException| Constructor and Description |
|---|
LessPackageResource(Class<?> scope,
String name,
Locale locale,
String style,
String variation)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.wicket.util.resource.IResourceStream |
getResourceStream() |
getCompressor, processResponseaccept, equals, exists, exists, getCacheableResourceStream, getCacheKey, getCompress, getScope, getStyle, getTextEncoding, hashCode, isCachingEnabled, newResourceResponse, setCachingEnabled, setCompress, setTextEncoding, toStringconfigureCache, flushResponseAfterHeaders, getCachingStrategy, respond, setResponseHeaderspublic LessPackageResource(Class<?> scope, String name, Locale locale, String style, String variation)
Constructor.
scope - This argument will be used to get the class loader for loading the package resource, and to determine what package it is inname - The relative path to the resourcelocale - The locale of the resourcestyle - The style of the resourcevariation - The variation of the resourceCopyright © 2011–2014 AgileCoders. All rights reserved.