Package org.ametys.core.minimize.css
Class MinimizedCSSResourceHandlerProvider
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.core.resources.AbstractResourceHandlerProvider
org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
org.ametys.core.minimize.css.MinimizedCSSResourceHandlerProvider
- All Implemented Interfaces:
ResourceHandlerProvider
,LogEnabled
,Prioritizable
,Configurable
,Contextualizable
,Serviceable
ResourceHandlerProvider
for minimized CSS files.-
Field Summary
Fields inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
_supportedSuffixes
Fields inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
_context, _manager
Fields inherited from interface org.ametys.core.resources.ResourceHandlerProvider
MAX_PRIORITY, MIN_PRIORITY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ResourceHandler
createResourceHandler
(String source) Actually creates theResourceHandler
.int
Get the priority for the component.Methods inherited from class org.ametys.core.resources.AbstractSimpleResourceHandlerProvider
configure, getResourceHandler
Methods inherited from class org.ametys.core.resources.AbstractResourceHandlerProvider
contextualize, service, setup
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
MinimizedCSSResourceHandlerProvider
public MinimizedCSSResourceHandlerProvider()
-
-
Method Details
-
getPriority
Description copied from interface:Prioritizable
Get the priority for the component. On components usingPrioritizable
interface, each implementation define the order. In most cases, less is the number, more prior is the component.- Returns:
- the priority
-
createResourceHandler
Description copied from class:AbstractSimpleResourceHandlerProvider
Actually creates theResourceHandler
.- Specified by:
createResourceHandler
in classAbstractSimpleResourceHandlerProvider
- Parameters:
source
- the requested resource.- Returns:
- the created
ResourceHandler
.
-