Deprecated
Use LibraryLoader instead.
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private final String | name
The name of this library |
| Modifier and Type | Method and Description |
|---|---|
| public static synchronized void | addLibraryPath(String
the name of the library to search for libraryName, File the path to search for the library in path)
Deprecated
see
Adds a custom search path for a library
LibraryLoader for the preferred interface to loading libraries.
|
| public static Library | |
| public static List | Returns: AList of String instances.The library to retrieve the path for. libraryName)
Deprecated
see
Gets the custom search path for a library.
LibraryLoader for the preferred interface to loading libraries.
|
| public String | |
| public static Runtime | Returns: The runtime that loaded the library.A library implementation as returned from library)LibraryLoader#load()
Deprecated
Use
Gets the Runtime#getRuntime(Object)
Runtime that loaded the library interface.
|
| public static < the interface class. T> T | Returns: an instance ofinterfaceclass that will call the native methods.the name of the library to load libraryName, Class<T> the interface that describes the native library interface interfaceClass)
Deprecated
see
Loads a native library and links the methods defined in LibraryLoader for the preferred interface to loading libraries.
interfaceClass
to native methods in the library.
|
| public static < the interface type. T> T | Returns: an instance ofinterfaceclass that will call the native methods.the interface that describes the native library interface interfaceClass, String... the name of the library to load libraryNames)
Deprecated
see
Loads a native library and links the methods defined in LibraryLoader for the preferred interface to loading libraries.
interfaceClass
to native methods in the library.
|
| public static < the interface type. T> T | Returns: an instance ofinterfaceclass that will call the native methods.the name of the library to load libraryName, Class<T> the interface that describes the native library interface interfaceClass, Map<LibraryOption, ?> options libraryOptions)
Deprecated
see
Loads a native library and links the methods defined in LibraryLoader for the preferred interface to loading libraries.
interfaceClass
to native methods in the library.
|
| public static < the interface type. T> T | Returns: an instance ofinterfaceclass that will call the native methods.the interface that describes the native library interface interfaceClass, Map<LibraryOption, ?> options libraryOptions, String... the name of the library to load libraryNames)
Deprecated
see
Loads a native library and links the methods defined in LibraryLoader for the preferred interface to loading libraries.
interfaceClass
to native methods in the library.
|
| customSearchPaths | back to summary |
|---|---|
| private static final Map<String, List<String>> customSearchPaths | |
| name | back to summary |
|---|---|
| private final String name The name of this library | |
| Library | back to summary |
|---|---|
| private Library(String libraryName) | |
| addLibraryPath | back to summary |
|---|---|
| public static synchronized void addLibraryPath(String libraryName, File path)
Deprecated see Adds a custom search path for a library | |
| getInstance | back to summary |
|---|---|
| public static Library getInstance(String libraryName)
Deprecated
| |
| getLibraryPath | back to summary |
|---|---|
| public static List Deprecated see Gets the custom search path for a library. | |
| getName | back to summary |
|---|---|
| public String getName()
Deprecated
| |
| getRuntime | back to summary |
|---|---|
| public static Runtime getRuntime(Object library)
Deprecated Gets the
| |
| loadLibrary | back to summary |
|---|---|
| public static <T> T loadLibrary(String libraryName, Class<T> interfaceClass)
Deprecated see Loads a native library and links the methods defined in | |
| loadLibrary | back to summary |
|---|---|
| public static <T> T loadLibrary(Class<T> interfaceClass, String... libraryNames)
Deprecated see Loads a native library and links the methods defined in | |
| loadLibrary | back to summary |
|---|---|
| public static <T> T loadLibrary(String libraryName, Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions)
Deprecated see Loads a native library and links the methods defined in
| |
| loadLibrary | back to summary |
|---|---|
| public static <T> T loadLibrary(Class<T> interfaceClass, Map<LibraryOption, ?> libraryOptions, String... libraryNames)
Deprecated see Loads a native library and links the methods defined in
| |