freemarker.template.cache
Interface CacheRetrieverFactory<T extends CacheRetriever,P extends CacheRetrieverParameters>

All Known Implementing Classes:
FileRetrieverFactory, LocalizedFileRetrieverFactory

public interface CacheRetrieverFactory<T extends CacheRetriever,P extends CacheRetrieverParameters>

Interface for creating CacheRetriever implementations.

Since:
1.9
Version:
$Id: CacheRetrieverFactory.java 1112 2013-04-12 02:59:25Z run2000 $
Author:
Nicholas Cull

Method Summary
 T create(P params)
          Create a cache retriever with the given parameters.
 

Method Detail

create

T create(P params)
Create a cache retriever with the given parameters.

Parameters:
params - the parameters with which to create the cache retriever
Returns:
a new cache retriever initialized with the given parameters