Class DllUtil
java.lang.Object
de.tracetronic.jenkins.plugins.ecutest.util.DllUtil
Utility class providing library operations, especially for JACOB COM Bridge.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetLibraryFile(Computer computer) Gets the library file for the respective system architecture.static booleanloadLibrary(Computer computer) Loads the JACOB library.
-
Method Details
-
loadLibrary
public static boolean loadLibrary(@CheckForNull Computer computer) throws IOException, InterruptedException Loads the JACOB library.- Parameters:
computer- the computer- Returns:
trueif successful,falseotherwise- Throws:
IOException- signals that an I/O exception has occurredInterruptedException- if the current thread is interrupted while waiting for the completion
-
getLibraryFile
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
-