Class ResourceUtil
java.lang.Object
org.operaton.bpm.engine.impl.util.ResourceUtil
- Author:
- Sebastian Menski
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringloadResourceContent(String resourcePath, DeploymentEntity deployment) Parse a operaton:resource attribute and loads the resource depending on the url scheme.
-
Method Details
-
loadResourceContent
Parse a operaton: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
-