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

        public java.lang.String getPath()
        Description copied from interface: SharedLibrary
        Returns the library path, if available.
        Specified by:
        getPath in interface SharedLibrary
        getPath in class SharedLibrary.Default
        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.
        functionName - the encoded name of the function to query
        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.