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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MappedLocatorLookup
public MappedLocatorLookup()
addMap
public void addMap(java.lang.String name,
ILocator locator)
createLocator
public ILocator createLocator(java.lang.String location)
throws java.io.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:
java.io.IOException
getMaps
public java.util.Map<java.lang.String,ILocator> getMaps()
removeMap
public void removeMap(java.lang.String name)