Class DllUtil
- 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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getLibraryFile(Computer computer)
Gets the library file for the respective system architecture.static boolean
loadLibrary(Computer computer)
Loads the JACOB library.
-
-
-
Method Detail
-
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 occurredInterruptedException
- 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 occurredInterruptedException
- if the current thread is interrupted while waiting for the completion
-
-