Package com.github.tadukoo.view
Class ImageUtil
java.lang.Object
com.github.tadukoo.view.ImageUtil
This class contains utility methods for dealing with images.
- Version:
- 0.1-Alpha
- Author:
- Logan Ferree (Tadukoo)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BufferedImage
loadImageAsResource
(String filePath) Loads an image from the given filepath using getResourceAsStream.
-
Constructor Details
-
ImageUtil
private ImageUtil()Not allowed to create an ImageUtil
-
-
Method Details
-
loadImageAsResource
Loads an image from the given filepath using getResourceAsStream.- Parameters:
filePath
- The path to the image file- Returns:
- The loaded image
- Throws:
IOException
- If it goes wrong
-