org.camunda.bpm.model.xml.impl.util
Class ReflectUtil
java.lang.Object
org.camunda.bpm.model.xml.impl.util.ReflectUtil
public abstract class ReflectUtil
- extends Object
- Author:
- Tom Baeyens
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectUtil
public ReflectUtil()
getResourceAsStream
public static InputStream getResourceAsStream(String name)
getResource
public static URL getResource(String name)
getResource
public static URL getResource(String name,
ClassLoader classLoader)
getResourceAsFile
public static File getResourceAsFile(String path)
createInstance
public static <T> T createInstance(Class<T> type,
Object... parameters)
- Create a new instance of the provided type
- Parameters:
type - the class to create a new instance ofparameters - the parameters to pass to the constructor
- Returns:
- the created instance
Copyright © 2016 camunda services GmbH. All rights reserved.