Package jnr.ffi.provider.jffi
Class NativeLibrary
java.lang.Object
jnr.ffi.provider.jffi.NativeLibrary
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Data class containing information about a loaded native library. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNativeLibrary
(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options) -
Method Summary
Modifier and TypeMethodDescription(package private) long
findSymbolAddress
(String name) private List
<com.kenai.jffi.Library> (package private) long
getSymbolAddress
(String name) private List
<com.kenai.jffi.Library> private String
locateLibrary
(String libraryName) private static com.kenai.jffi.Library
openLibrary
(String path, List<String> successfulPaths) private void
private static String
-
Field Details
-
libraryNames
-
searchPaths
-
successfulPaths
-
options
-
nativeLibraries
-
BAD_ELF
-
ELF_GROUP
-
-
Constructor Details
-
NativeLibrary
NativeLibrary(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options)
-
-
Method Details
-
locateLibrary
-
getSymbolAddress
-
findSymbolAddress
-
getNativeLibraries
-
loadNativeLibraries
-
openLibrary
-
readAll
-
putLibraryIntoRuntime
private void putLibraryIntoRuntime()
-