java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.util.DllUtil

public final class DllUtil extends Object
Utility class providing library operations, especially for JACOB COM Bridge.
  • Method Details

    • loadLibrary

      public static boolean loadLibrary(@CheckForNull Computer computer) throws IOException, InterruptedException
      Loads the JACOB library.
      Parameters:
      computer - the computer
      Returns:
      true if successful, false otherwise
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - if the current thread is interrupted while waiting for the completion
    • getLibraryFile

      public static String getLibraryFile(Computer computer) throws IOException, InterruptedException
      Gets the library file for the respective system architecture.
      Parameters:
      computer - the computer
      Returns:
      the library file
      Throws:
      IOException - signals that an I/O exception has occurred
      InterruptedException - if the current thread is interrupted while waiting for the completion