Package dev.botcity.framework.web
Class Resource
java.lang.Object
dev.botcity.framework.web.Resource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.marvinproject.framework.image.MarvinImage
getResourceAsMarvinImage
(ClassLoader classLoader, String imagePath) Get the resource as a MarvinImage.
-
Constructor Details
-
Resource
public Resource()
-
-
Method Details
-
getResourceAsMarvinImage
public static org.marvinproject.framework.image.MarvinImage getResourceAsMarvinImage(ClassLoader classLoader, String imagePath) Get the resource as a MarvinImage.- Parameters:
classLoader
- The class loader to use.imagePath
- The path to the resource.- Returns:
- The resource as a
MarvinImage
.
-