public abstract class KImageLoader
extends java.lang.Object
Constructor and Description |
---|
KImageLoader() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Image |
loadImageFromResource(java.lang.String name,
java.lang.Class srcClass)
Loads an the specified image from a resource file using the specified
object as the base path.
|
static java.awt.Image |
loadImageFromResource(java.lang.String name,
java.lang.Object src)
Loads an the specified image from a resource file using the specified
object as the base path.
|
static java.awt.Image |
loadImageFromURL(java.net.URL imageURL)
Loads an image from the specified URL.
|
public static java.awt.Image loadImageFromURL(java.net.URL imageURL)
public static java.awt.Image loadImageFromResource(java.lang.String name, java.lang.Class srcClass)
public static java.awt.Image loadImageFromResource(java.lang.String name, java.lang.Object src)