de.intarsys.tools.locator
Class MappedLocatorLookup
java.lang.Object
de.intarsys.tools.locator.AbstractLocatorLookup
de.intarsys.tools.locator.MappedLocatorLookup
- All Implemented Interfaces:
- ILocatorFactory
public class MappedLocatorLookup
- extends AbstractLocatorLookup
MappedLocatorLookup
public MappedLocatorLookup()
addMap
public void addMap(String name,
ILocator locator)
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
getMaps
public Map<String,ILocator> getMaps()
removeMap
public void removeMap(String name)
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.