intarsys runtime library

de.intarsys.tools.locator
Class DelegatingLocatorFactory

java.lang.Object
  extended by de.intarsys.tools.locator.CommonLocatorFactory
      extended by de.intarsys.tools.locator.DelegatingLocatorFactory
All Implemented Interfaces:
ILocatorFactory
Direct Known Subclasses:
ExpandingLocatorFactory

public class DelegatingLocatorFactory
extends CommonLocatorFactory


Constructor Summary
DelegatingLocatorFactory(ILocatorFactory factory)
           
 
Method Summary
 ILocator createLocator(String location)
          Create a ILocator object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegatingLocatorFactory

public DelegatingLocatorFactory(ILocatorFactory factory)
Method Detail

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 - A location definition.
Returns:
The ILocator object created from the location.
Throws:
IOException

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.