Package org.camunda.bpm.engine.impl.util
Class ResourceUtil
- java.lang.Object
-
- org.camunda.bpm.engine.impl.util.ResourceUtil
-
public final class ResourceUtil extends Object
- Author:
- Sebastian Menski
-
-
Constructor Summary
Constructors Constructor Description ResourceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
loadResourceContent(String resourcePath, DeploymentEntity deployment)
Parse a camunda:resource attribute and loads the resource depending on the url scheme.
-
-
-
Method Detail
-
loadResourceContent
public static String loadResourceContent(String resourcePath, DeploymentEntity deployment)
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
-
-