public class ImageLocator extends Object
Constructor and Description |
---|
ImageLocator() |
ImageLocator(String bundlePath) |
Modifier and Type | Method and Description |
---|---|
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) |
public ImageLocator(String bundlePath)
public ImageLocator()
public String locateURL(URL url) throws IOException
IOException
public static void addImagePath(String path)
public static void removeImagePath(String path)
public static String[] getImagePath()
protected String searchFile(String filename) throws IOException
IOException
public String locate(String filename) throws IOException
IOException