public class LibraryLoader extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
List<String> |
appliedFiles |
| Constructor and Description |
|---|
LibraryLoader(TestCase testCase) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFolderToClassPath(String folderPath) |
void |
addJarFileToClassPath(String filePath) |
void |
loadAllDllsInFolder(String path)
Attempts to load the identified Windows DLL (Dynamic Link Library) files in the specified folder in order for a Java program to
be able to access the classes and methods within.
|
void |
loadAllLibrariesInFolder(String path) |
void |
loadDll(String path)
Attempts to load a Windows DLL (Dynamic Link Library) file in order for a Java program to
be able to access the classes and methods within.
|
void |
loadLibrary(String path) |
void |
tryLoadLibrary(String path) |
public LibraryLoader(TestCase testCase)
public void loadLibrary(String path)
public void loadAllLibrariesInFolder(String path)
public void loadDll(String path)
path - The file path to the DLL filepublic void loadAllDllsInFolder(String path)
path - The path to the folder to add all DLLs in.public void tryLoadLibrary(String path)
public void addJarFileToClassPath(String filePath)
public void addFolderToClassPath(String folderPath)
Copyright © 2019. All rights reserved.