Class KImageLoader

java.lang.Object
com.kheops.util.KImageLoader

public abstract class KImageLoader extends Object
A utility helper class used to load images from an URL or from a resource file.
  • Constructor Details

    • KImageLoader

      public KImageLoader()
  • Method Details

    • loadImageFromURL

      public static Image loadImageFromURL(URL imageURL)
      Loads an image from the specified URL.
    • loadImageFromResource

      public static Image loadImageFromResource(String name, Class srcClass)
      Loads an the specified image from a resource file using the specified object as the base path.
    • loadImageFromResource

      public static Image loadImageFromResource(String name, Object src)
      Loads an the specified image from a resource file using the specified object as the base path.