Package org.camunda.bpm.engine.impl.util
Class ResourceUtil
java.lang.Object
org.camunda.bpm.engine.impl.util.ResourceUtil
- Author:
- Sebastian Menski
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
loadResourceContent
(String resourcePath, DeploymentEntity deployment) Parse a camunda:resource attribute and loads the resource depending on the url scheme.
-
Constructor Details
-
ResourceUtil
public ResourceUtil()
-
-
Method Details
-
loadResourceContent
Parse a camunda:resource attribute and loads the resource depending on the url scheme. Supported URL schemes areclasspath://
anddeployment://
. If the scheme is omittedclasspath://
is assumed.- Parameters:
resourcePath
- the path to the resource to loaddeployment
- the deployment to load resources from- Returns:
- the resource content as
String
-