org.extex.resource
Class ResourceFinderFactory

java.lang.Object
  extended by org.extex.resource.ResourceFinderFactory

public class ResourceFinderFactory
extends java.lang.Object

This class provides a factory for ResourceFinders.

Version:
$Revision: 6802 $
Author:
Gerd Neugebauer

Constructor Summary
ResourceFinderFactory()
          Creates a new object.
 
Method Summary
 ResourceFinder createResourceFinder(Configuration config, java.util.logging.Logger logger, java.util.Properties properties, InteractionIndicator provider)
          Get an instance of a resource finder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFinderFactory

public ResourceFinderFactory()
Creates a new object.

Method Detail

createResourceFinder

public ResourceFinder createResourceFinder(Configuration config,
                                           java.util.logging.Logger logger,
                                           java.util.Properties properties,
                                           InteractionIndicator provider)
                                    throws ConfigurationException
Get an instance of a resource finder.

Parameters:
config - the configuration to use
logger - the logger to pass to the Resource finder elements
properties - the properties to pass to the resource finder elements
provider - the interaction provider
Returns:
the resource finder
Throws:
ConfigurationException - in case of an error in the configuration or during instantiation