de.intarsys.tools.locator
Class LocatorBasedLookup

java.lang.Object
  extended by de.intarsys.tools.locator.AbstractLocatorLookup
      extended by de.intarsys.tools.locator.LocatorBasedLookup
All Implemented Interfaces:
ILocatorFactory

public class LocatorBasedLookup
extends AbstractLocatorLookup


Constructor Summary
LocatorBasedLookup(ILocator locator)
           
 
Method Summary
 ILocator createLocator(java.lang.String location)
          Create a ILocator object.
 ILocator getLocator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocatorBasedLookup

public LocatorBasedLookup(ILocator locator)
Method Detail

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

getLocator

public ILocator getLocator()