Class MacOSXLibraryBundle

    • Constructor Detail

      • MacOSXLibraryBundle

        public MacOSXLibraryBundle​(java.lang.String name,
                                   long bundleRef)
    • Method Detail

      • getWithIdentifier

        public static MacOSXLibraryBundle getWithIdentifier​(java.lang.String bundleID)
      • getPath

        @Nullable
        public java.lang.String getPath()
        Description copied from interface: SharedLibrary
        Returns the library path, if available.
        Specified by:
        getPath in interface SharedLibrary
        Overrides:
        getPath in class SharedLibrary.Default
        Returns:
        the library path, or null if the path is not available.
      • getFunctionAddress

        public long getFunctionAddress​(java.nio.ByteBuffer functionName)
        Description copied from interface: FunctionProvider
        Returns the function address of the specified function. If the function is not supported, returns 0L.
        Parameters:
        functionName - the encoded name of the function to query
        Returns:
        the function address or 0L if the function is not supported
      • free

        public void free()
        Description copied from interface: NativeResource
        Frees any native resources held by this object.