Class ImageLoader


  • public class ImageLoader
    extends java.lang.Object
    a helper class to load resource images
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageLoader​(java.lang.String path)
      Instantiates a new image loader.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.image.BufferedImage load​(java.lang.String image)
      Load.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImageLoader

        public ImageLoader​(java.lang.String path)
        Instantiates a new image loader.
        Parameters:
        path - the path
    • Method Detail

      • load

        public static java.awt.image.BufferedImage load​(java.lang.String image)
        Load.
        Parameters:
        image - the image
        Returns:
        the buffered image