intarsys runtime library

de.intarsys.tools.locator
Class ExpandingLocatorFactory

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

public class ExpandingLocatorFactory
extends DelegatingLocatorFactory


Constructor Summary
ExpandingLocatorFactory(ILocatorFactory factory, IStringEvaluator evaluator, File parent)
           
 
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

ExpandingLocatorFactory

public ExpandingLocatorFactory(ILocatorFactory factory,
                               IStringEvaluator evaluator,
                               File parent)
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.

Specified by:
createLocator in interface ILocatorFactory
Overrides:
createLocator in class DelegatingLocatorFactory
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.