Class ReflectUtil

java.lang.Object
org.camunda.bpm.model.xml.impl.util.ReflectUtil

public abstract class ReflectUtil extends Object
Author:
Tom Baeyens
  • Constructor Details

    • ReflectUtil

      public ReflectUtil()
  • Method Details

    • 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 of
      parameters - the parameters to pass to the constructor
      Returns:
      the created instance