public final class NativeLibraryLoader extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
load(String originalName,
ClassLoader loader)
Load the given library with the specified
ClassLoader |
static void |
loadFirstAvailable(ClassLoader loader,
String... names)
Loads the first available library in the collection with the specified
ClassLoader. |
public static void loadFirstAvailable(ClassLoader loader, String... names)
ClassLoader.IllegalArgumentException - if none of the given libraries load successfully.public static void load(String originalName, ClassLoader loader)
ClassLoaderCopyright © 2008–2024 The Netty Project. All rights reserved.