Class ResourceUtils
java.lang.Object
dev.prozilla.pine.common.system.resource.ResourceUtils
Utility class for handling resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getResourcePath
(String path) Finds the resource and returns its normalized path.
-
Constructor Details
-
ResourceUtils
public ResourceUtils()
-
-
Method Details
-
getResourcePath
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
-