org.openqa.selenium.server
Class FsResourceLocator

java.lang.Object
  extended by org.openqa.selenium.server.FsResourceLocator
All Implemented Interfaces:
ResourceLocator

public class FsResourceLocator
extends Object
implements ResourceLocator


Constructor Summary
FsResourceLocator(File directory)
           
 
Method Summary
 Resource getResource(HttpContext context, String pathInContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FsResourceLocator

public FsResourceLocator(File directory)
Method Detail

getResource

public Resource getResource(HttpContext context,
                            String pathInContext)
                     throws IOException
Specified by:
getResource in interface ResourceLocator
Throws:
IOException


Copyright © 2012. All Rights Reserved.