Package jnr.ffi.provider.jffi
Class NativeLibrary.LoadedLibraryData
- java.lang.Object
-
- jnr.ffi.provider.jffi.NativeLibrary.LoadedLibraryData
-
- Enclosing class:
- NativeLibrary
public static class NativeLibrary.LoadedLibraryData extends Object
Data class containing information about a loaded native library. A list of all currently loaded libraries can be queried usingRuntime.getLoadedLibraries()which will return a list ofNativeLibrary.LoadedLibraryDatas.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<String>getLibraryNames()List<String>getSearchPaths()List<String>getSuccessfulPaths()inthashCode()StringtoString()
-
-
-
Method Detail
-
getLibraryNames
public List<String> getLibraryNames()
- Returns:
- the list of library names that were provided when this library was loaded
-
getSearchPaths
public List<String> 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
public List<String> 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
-
-