| Modifier and Type | Class and Description |
|---|---|
| public static class | NativeLibrary.
Data class containing information about a loaded native library. |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final Pattern | |
| private final List | |
| private volatile List | |
| private final Map | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv | NativeLibrary(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options)
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv long | |
| private synchronized List | |
| pack-priv long | |
| private synchronized List | |
| private String | |
| private static Library | |
| private void | |
| private static String |
| BAD_ELF | back to summary |
|---|---|
| private static final Pattern BAD_ELF | |
| ELF_GROUP | back to summary |
|---|---|
| private static final Pattern ELF_GROUP | |
| libraryNames | back to summary |
|---|---|
| private final List<String> libraryNames | |
| nativeLibraries | back to summary |
|---|---|
| private volatile List<Library> nativeLibraries | |
| options | back to summary |
|---|---|
| private final Map<LibraryOption, Object> options | |
| searchPaths | back to summary |
|---|---|
| private final List<String> searchPaths | |
| successfulPaths | back to summary |
|---|---|
| private final List<String> successfulPaths | |
| NativeLibrary | back to summary |
|---|---|
| pack-priv NativeLibrary(Collection<String> libraryNames, Collection<String> searchPaths, Map<LibraryOption, Object> options) | |
| findSymbolAddress | back to summary |
|---|---|
| pack-priv long findSymbolAddress(String name) | |
| getNativeLibraries | back to summary |
|---|---|
| private synchronized List | |
| getSymbolAddress | back to summary |
|---|---|
| pack-priv long getSymbolAddress(String name) | |
| loadNativeLibraries | back to summary |
|---|---|
| private synchronized List | |
| locateLibrary | back to summary |
|---|---|
| private String locateLibrary(String libraryName) | |
| openLibrary | back to summary |
|---|---|
| private static Library openLibrary(String path, List<String> successfulPaths) | |
| putLibraryIntoRuntime | back to summary |
|---|---|
| private void putLibraryIntoRuntime() | |
| readAll | back to summary |
|---|---|
| private static String readAll(File f) | |
Runtime#getLoadedLibraries() which will
return a list of LoadedLibraryDatas.
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public List | |
| public List | Returns: the list of paths that were used to search for the library, custom paths will always appear before any system default paths
|
| public List | 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
|
| public int | |
| public String |
| libraryNames | back to summary |
|---|---|
| private final List<String> libraryNames | |
| searchPaths | back to summary |
|---|---|
| private final List<String> searchPaths | |
| successfulPaths | back to summary |
|---|---|
| private final List<String> successfulPaths | |
| LoadedLibraryData | back to summary |
|---|---|
| pack-priv LoadedLibraryData(List<String> libraryNames, List<String> searchPaths, List<String> successfulPaths) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getLibraryNames | back to summary |
|---|---|
| public List | |
| getSearchPaths | back to summary |
|---|---|
| public List | |
| getSuccessfulPaths | back to summary |
|---|---|
| public List | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |