Class Resource

java.lang.Object
dev.botcity.framework.web.Resource

public class Resource extends Object
  • 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.