public class CompiledJasperTemplateCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
| Constructor and Description |
|---|
CompiledJasperTemplateCacheService()
Instantiates a new compiled jasper template cache service.
|
| Modifier and Type | Method and Description |
|---|---|
net.sf.jasperreports.engine.JasperReport |
getCompiledJasperTemplate(String code,
File reportFile)
Gets the compiled jasper template.
|
static CompiledJasperTemplateCacheService |
getInstance()
Gets the single instance of CompiledJasperTemplateCacheService.
|
String |
getName()
Gets the name.
|
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCachepublic CompiledJasperTemplateCacheService()
public String getName()
public static CompiledJasperTemplateCacheService getInstance()
public net.sf.jasperreports.engine.JasperReport getCompiledJasperTemplate(String code, File reportFile) throws FileNotFoundException, net.sf.jasperreports.engine.JRException
code - the codereportFile - the report fileFileNotFoundException - the file not found exceptionnet.sf.jasperreports.engine.JRException - the JR exceptionCopyright © 2022 City of Paris. All rights reserved.