freemarker.template.cache
Class LocalizedFileRetrieverFactory

java.lang.Object
  extended by freemarker.template.cache.LocalizedFileRetrieverFactory
All Implemented Interfaces:
CacheRetrieverFactory<LocalizedFileRetriever,FileRetrieverParameters>

public final class LocalizedFileRetrieverFactory
extends java.lang.Object
implements CacheRetrieverFactory<LocalizedFileRetriever,FileRetrieverParameters>

Factory class for creating LocalizedFileRetrieverFactory classes using the given parameter class.

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

Field Summary
static LocalizedFileRetrieverFactory INSTANCE
          The singleton instance of this LocalizedFileRetrieverFactory
 
Method Summary
 LocalizedFileRetriever create(FileRetrieverParameters params)
          Create a LocalizedFileRetriever with the given parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final LocalizedFileRetrieverFactory INSTANCE
The singleton instance of this LocalizedFileRetrieverFactory

Method Detail

create

public LocalizedFileRetriever create(FileRetrieverParameters params)
Create a LocalizedFileRetriever with the given parameters.

Specified by:
create in interface CacheRetrieverFactory<LocalizedFileRetriever,FileRetrieverParameters>
Parameters:
params - the parameters with which to create the cache retriever
Returns:
a new LocalizedFileRetriever initialized with the given parameters