public abstract class AbstractMinimizeReader extends ServiceableReader implements CacheableProcessingComponent
Modifier and Type | Field and Description |
---|---|
protected HashCache |
_hashCache
the hash cache
|
protected SourceResolver |
_resolver
The source resolver
|
manager
objectModel, out, parameters, resolver, source
Constructor and Description |
---|
AbstractMinimizeReader() |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
_handleFiles(List<HashCache.UriData> files)
Minimize files
|
void |
generate() |
Serializable |
getKey() |
long |
getLastModified() |
SourceValidity |
getValidity() |
void |
service(ServiceManager smanager) |
void |
setup(SourceResolver res,
Map obj,
String src,
Parameters par) |
getMimeType, recycle, setOutputStream, shouldSetContentLength
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected SourceResolver _resolver
protected HashCache _hashCache
public AbstractMinimizeReader()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ServiceableReader
ServiceException
public Serializable getKey()
getKey
in interface CacheableProcessingComponent
public SourceValidity getValidity()
getValidity
in interface CacheableProcessingComponent
public long getLastModified()
getLastModified
in interface Reader
getLastModified
in class AbstractReader
public void setup(SourceResolver res, Map obj, String src, Parameters par) throws ProcessingException, SAXException, IOException
setup
in interface SitemapModelComponent
setup
in class AbstractReader
ProcessingException
SAXException
IOException
public void generate() throws IOException, SAXException, ProcessingException
generate
in interface Reader
IOException
SAXException
ProcessingException
protected abstract String _handleFiles(List<HashCache.UriData> files)
files
- The files