Class ResourceUtils

java.lang.Object
dev.prozilla.pine.common.system.resource.ResourceUtils

public class ResourceUtils extends Object
Utility class for handling resources.
  • Constructor Details

    • ResourceUtils

      public ResourceUtils()
  • Method Details

    • getResourcePath

      public static String getResourcePath(String path) throws RuntimeException
      Finds the resource and returns its normalized path.
      Parameters:
      path - Path to the resource relative to the resources directory
      Returns:
      Normalized path to the resource
      Throws:
      RuntimeException