Class ReflectUtil
java.lang.Object
org.camunda.bpm.model.xml.impl.util.ReflectUtil
- Author:
- Tom Baeyens
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
createInstance
(Class<T> type, Object... parameters) Create a new instance of the provided typestatic URL
getResource
(String name) static URL
getResource
(String name, ClassLoader classLoader) static File
getResourceAsFile
(String path) static InputStream
getResourceAsStream
(String name)
-
Constructor Details
-
ReflectUtil
public ReflectUtil()
-
-
Method Details
-
getResourceAsStream
-
getResource
-
getResource
-
getResourceAsFile
-
createInstance
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
-