org.sikuli.script
Class ImageLocator

java.lang.Object
  extended by org.sikuli.script.ImageLocator

public class ImageLocator
extends Object


Constructor Summary
ImageLocator()
           
ImageLocator(String bundlePath)
           
 
Method Summary
static void addImagePath(String path)
           
static String[] getImagePath()
           
protected  URL getURL(String s)
           
 String locate(String filename)
           
 String locateURL(URL url)
           
static void removeImagePath(String path)
           
protected  String searchFile(String filename)
           
protected static String[] splitImagePath(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageLocator

public ImageLocator(String bundlePath)

ImageLocator

public ImageLocator()
Method Detail

getURL

protected URL getURL(String s)

locateURL

public String locateURL(URL url)
                 throws IOException
Throws:
IOException

addImagePath

public static void addImagePath(String path)

splitImagePath

protected static String[] splitImagePath(String path)

removeImagePath

public static void removeImagePath(String path)

getImagePath

public static String[] getImagePath()

searchFile

protected String searchFile(String filename)
                     throws IOException
Throws:
IOException

locate

public String locate(String filename)
              throws IOException
Throws:
IOException