Class ImageUtil


  • public final class ImageUtil
    extends Object
    An utility class for image processing.
    • Method Detail

      • getUrl

        public static String getUrl​(String path,
                                    Image.Format format)
        Gets the URL utilizing a path and the Image.Format the URL should represent.
        Parameters:
        path - The path of the image; excluding the extension. Must be non-null.
        format - The Image.Format the URL should represent. Must be non-null.
        Returns:
        The URL utilizing the path and the Image.Format the URL represents.