Package de.intarsys.tools.locator
Class LocatorBasedLookup
- java.lang.Object
-
- de.intarsys.tools.locator.AbstractLocatorLookup
-
- de.intarsys.tools.locator.LocatorBasedLookup
-
- All Implemented Interfaces:
ILocatorFactory
public class LocatorBasedLookup extends AbstractLocatorLookup
-
-
Constructor Summary
Constructors Constructor Description LocatorBasedLookup(ILocator locator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ILocator
createLocator(java.lang.String location)
Create aILocator
object.ILocator
getLocator()
-
-
-
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 aILocator
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()
-
-