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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceUtil
public ResourceUtil()
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 are
classpath://
and deployment://
.
If the scheme is omitted classpath://
is assumed.
- Parameters:
resourcePath
- the path to the resource to loaddeployment
- the deployment to load resources from
- Returns:
- the resource content as
String
Copyright © 2016 camunda services GmbH. All rights reserved.