Package discord4j.core.util
Class ImageUtil
java.lang.Object
discord4j.core.util.ImageUtil
An utility class for image processing.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getUrl
(String path, Image.Format format) Gets the URL utilizing a path and theImage.Format
the URL should represent.
-
Method Details
-
getUrl
Gets the URL utilizing a path and theImage.Format
the URL should represent.- Parameters:
path
- The path of the image; excluding the extension. Must be non-null.format
- TheImage.Format
the URL should represent. Must be non-null.- Returns:
- The URL utilizing the path and the
Image.Format
the URL represents.
-