Package jnr.ffi.provider.jffi
Class NativeLibrary.LoadedLibraryData
java.lang.Object
jnr.ffi.provider.jffi.NativeLibrary.LoadedLibraryData
- Enclosing class:
- NativeLibrary
Data class containing information about a loaded native library.
A list of all currently loaded libraries can be queried using
Runtime.getLoadedLibraries()
which will
return a list of NativeLibrary.LoadedLibraryData
s.-
Method Details
-
getLibraryNames
- Returns:
- the list of library names that were provided when this library was loaded
-
getSearchPaths
- Returns:
- the list of paths that were used to search for the library, custom paths will always appear before any system default paths
-
getSuccessfulPaths
- Returns:
- the list of absolute paths of the loaded library files (.so, .dylib, .dll etc) that were actually loaded, these are the native library files that are being used for this library
-
equals
-
hashCode
public int hashCode() -
toString
-