Class ConnectorEventUtils


  • public class ConnectorEventUtils
    extends java.lang.Object
    Connector event utility methods.
    Author:
    Holger Eichelberger, SSE
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> ConnectorInputHandler<T> createInputHandlerInstance​(java.lang.ClassLoader loader, java.lang.String className, java.lang.Class<T> type)
      Convenience method for creating (custom) input handler instances.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConnectorEventUtils

        public ConnectorEventUtils()
    • Method Detail

      • createInputHandlerInstance

        public static <T> ConnectorInputHandler<T> createInputHandlerInstance​(java.lang.ClassLoader loader,
                                                                              java.lang.String className,
                                                                              java.lang.Class<T> type)
        Convenience method for creating (custom) input handler instances.
        Type Parameters:
        T - the data type to be handled by the connector
        Parameters:
        loader - the class loader to load the class with
        className - the name of the parser class (must implement InputParser and provide a non-argument constructor
        type - the type to be handled by the connector
        Returns:
        the parser instance (null if the parser cannot be found/initialized)