Class MappedLocatorLookup

java.lang.Object
de.intarsys.tools.locator.AbstractLocatorLookup
de.intarsys.tools.locator.MappedLocatorLookup
All Implemented Interfaces:
ILocatorFactory

public class MappedLocatorLookup extends AbstractLocatorLookup
  • Constructor Details

    • MappedLocatorLookup

      public MappedLocatorLookup()
  • Method Details

    • 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)