SharedLibrary on the macOS using CFBundle.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static MacOSXLibraryBundle | |
| private static long | |
| public void | free()
Implements org. |
| public long | getFunctionAddress(ByteBuffer
the encoded name of the function to query functionName)Implements org. |
| public String | |
| public static MacOSXLibraryBundle |
| MacOSXLibraryBundle | back to summary |
|---|---|
| public MacOSXLibraryBundle(String name, long bundleRef) | |
| create | back to summary |
|---|---|
| public static MacOSXLibraryBundle create(String path) | |
| CString2CFString | back to summary |
|---|---|
| private static long CString2CFString(ByteBuffer name, int encoding) | |
| free | back to summary |
|---|---|
| public void free() Implements org. Doc from org. Frees any native resources held by this object.
| |
| getFunctionAddress | back to summary |
|---|---|
| public long getFunctionAddress(ByteBuffer functionName) Implements org. Doc from org. Returns the function address of the specified function. If the function is not supported, returns 0L.
| |
| getPath | back to summary |
|---|---|
| public String getPath() Implements org. Doc from org. Returns the library path, if available. | |
| getWithIdentifier | back to summary |
|---|---|
| public static MacOSXLibraryBundle getWithIdentifier(String bundleID) Hides org. | |