Class AbstractMinimizeSourceMapReader
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.reading.AbstractReader
-
- org.apache.cocoon.reading.ServiceableReader
-
- org.ametys.plugins.core.ui.minimize.AbstractMinimizeSourceMapReader
-
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,CacheableProcessingComponent
,Reader
,SitemapModelComponent
,SitemapOutputComponent
- Direct Known Subclasses:
MinimizeCSSSourceMapReader
,MinimizeJSSourceMapReader
public abstract class AbstractMinimizeSourceMapReader extends ServiceableReader implements CacheableProcessingComponent
Reader for Source map of minimized files
-
-
Field Summary
Fields Modifier and Type Field Description protected HashCache
_hashCache
Cache for hash files listprivate ProxiedContextPathProvider
_proxiedContextPathProvider
protected SourceResolver
_resolver
SourceResolverprotected SourceMapCache
_sourceMapCache
SourceMapCache-
Fields inherited from class org.apache.cocoon.reading.ServiceableReader
manager
-
Fields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
-
-
Constructor Summary
Constructors Constructor Description AbstractMinimizeSourceMapReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Serializable
getKey()
long
getLastModified()
SourceValidity
getValidity()
void
service(ServiceManager smanager)
void
setup(SourceResolver res, Map obj, String src, Parameters par)
-
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getMimeType, recycle, setOutputStream, shouldSetContentLength
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_sourceMapCache
protected SourceMapCache _sourceMapCache
SourceMapCache
-
_resolver
protected SourceResolver _resolver
SourceResolver
-
_hashCache
protected HashCache _hashCache
Cache for hash files list
-
_proxiedContextPathProvider
private ProxiedContextPathProvider _proxiedContextPathProvider
-
-
Constructor Detail
-
AbstractMinimizeSourceMapReader
public AbstractMinimizeSourceMapReader()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableReader
- Throws:
ServiceException
-
getKey
public Serializable getKey()
- Specified by:
getKey
in interfaceCacheableProcessingComponent
-
getValidity
public SourceValidity getValidity()
- Specified by:
getValidity
in interfaceCacheableProcessingComponent
-
getLastModified
public long getLastModified()
- Specified by:
getLastModified
in interfaceReader
- Overrides:
getLastModified
in classAbstractReader
-
setup
public void setup(SourceResolver res, Map obj, String src, Parameters par) throws ProcessingException, SAXException, IOException
- Specified by:
setup
in interfaceSitemapModelComponent
- Overrides:
setup
in classAbstractReader
- Throws:
ProcessingException
SAXException
IOException
-
-