de.intarsys.tools.locator
Class DelegatingLocatorLookup
java.lang.Object
de.intarsys.tools.locator.AbstractLocatorLookup
de.intarsys.tools.locator.DelegatingLocatorLookup
- All Implemented Interfaces:
- ILocatorFactory
- Direct Known Subclasses:
- SearchPathLocatorLookup
public class DelegatingLocatorLookup
- extends AbstractLocatorLookup
DelegatingLocatorLookup
public DelegatingLocatorLookup()
addLocatorFactory
public boolean addLocatorFactory(ILocatorFactory factory)
createLocator
public ILocator createLocator(String location)
throws IOException
- Description copied from interface:
ILocatorFactory
- Create a
ILocator
object.
path
may for example define a file in the file system.
- Parameters:
location
- The fully qualified location definition.
- Returns:
- The ILocator object created from the
location
.
- Throws:
IOException
clear
public void clear()
getLocatorFactories
public List<ILocatorFactory> getLocatorFactories()
removeLocatorFactory
public boolean removeLocatorFactory(ILocatorFactory factory)
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.