Package com.kheops.util
Class KImageLoader
java.lang.Object
com.kheops.util.KImageLoader
A utility helper class used to load images from an URL or from a resource
file.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Image
loadImageFromResource
(String name, Class srcClass) Loads an the specified image from a resource file using the specified object as the base path.static Image
loadImageFromResource
(String name, Object src) Loads an the specified image from a resource file using the specified object as the base path.static Image
loadImageFromURL
(URL imageURL) Loads an image from the specified URL.