public class ImageLocator
extends java.lang.Object
Constructor and Description |
---|
ImageLocator() |
ImageLocator(java.lang.String bundlePath) |
Modifier and Type | Method and Description |
---|---|
static void |
addImagePath(java.lang.String path) |
static java.lang.String[] |
getImagePath() |
protected java.net.URL |
getURL(java.lang.String s) |
java.lang.String |
locate(java.lang.String filename) |
java.lang.String |
locateURL(java.net.URL url) |
static void |
removeImagePath(java.lang.String path) |
protected java.lang.String |
searchFile(java.lang.String filename) |
protected static java.lang.String[] |
splitImagePath(java.lang.String path) |
public ImageLocator(java.lang.String bundlePath)
public ImageLocator()
protected java.net.URL getURL(java.lang.String s)
public java.lang.String locateURL(java.net.URL url) throws java.io.IOException
java.io.IOException
public static void addImagePath(java.lang.String path)
protected static java.lang.String[] splitImagePath(java.lang.String path)
public static void removeImagePath(java.lang.String path)
public static java.lang.String[] getImagePath()
protected java.lang.String searchFile(java.lang.String filename) throws java.io.IOException
java.io.IOException
public java.lang.String locate(java.lang.String filename) throws java.io.IOException
java.io.IOException