fr.paris.lutece.plugins.document.web
Class ResourceServletContentTypeCache

java.lang.Object
  extended by fr.paris.lutece.portal.service.cache.AbstractCacheableService
      extended by fr.paris.lutece.plugins.document.web.ResourceServletContentTypeCache
All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService

public class ResourceServletContentTypeCache
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService

ResourceServletCache


Constructor Summary
ResourceServletContentTypeCache()
          Constructor
 
Method Summary
 java.lang.String get(java.lang.String strKey)
          Get from the cache
 java.lang.String getName()
          Gets the cache name
 void put(java.lang.String strKey, java.lang.String strContentType)
          Put an object into the cache
 
Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
getCache, getCacheSize, getFromCache, initCache, isCacheEnable, putInCache, resetCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceServletContentTypeCache

public ResourceServletContentTypeCache()
Constructor

Method Detail

getName

public java.lang.String getName()
Gets the cache name

Returns:
The cache name

get

public java.lang.String get(java.lang.String strKey)
Get from the cache

Parameters:
strKey - The key
Returns:
The object or null if not found

put

public void put(java.lang.String strKey,
                java.lang.String strContentType)
Put an object into the cache

Parameters:
strKey - The key
content - The value


Copyright © 2010 Mairie de Paris. All Rights Reserved.