com.mycila.testing.plugins.jetty.locator
Class StrategyFileLocator

java.lang.Object
  extended by com.mycila.testing.plugins.jetty.locator.StrategyFileLocator
All Implemented Interfaces:
FileLocator

public class StrategyFileLocator
extends Object
implements FileLocator

A FileLocator which delegate to another using a strategy to choose it.


Nested Class Summary
static class StrategyFileLocator.Strategy
          Enumeration of available file locator strategy.
 
Constructor Summary
StrategyFileLocator()
           
 
Method Summary
 File locate(String path)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrategyFileLocator

public StrategyFileLocator()
Method Detail

locate

public File locate(String path)
            throws FileNotFoundException

Specified by:
locate in interface FileLocator
Throws:
FileNotFoundException
See Also:
FileLocator.locate(java.lang.String)


Copyright © 2010-2011 Mycila. All Rights Reserved.