Package org.lwjgl.system
Class SharedLibrary.Delegate
- java.lang.Object
-
- org.lwjgl.system.SharedLibrary.Delegate
-
- All Implemented Interfaces:
java.lang.AutoCloseable,FunctionProvider,NativeResource,Pointer,SharedLibrary
- Enclosing interface:
- SharedLibrary
public abstract static class SharedLibrary.Delegate extends java.lang.Object implements SharedLibrary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.SharedLibrary
SharedLibrary.Default, SharedLibrary.Delegate
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longaddress()Returns the raw pointer address as alongvalue.voidfree()Frees any native resources held by this object.java.lang.StringgetName()Returns the library name.java.lang.StringgetPath()Returns the library path, if available.-
Methods inherited from interface org.lwjgl.system.FunctionProvider
getFunctionAddress, getFunctionAddress
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:SharedLibraryReturns the library name.- Specified by:
getNamein interfaceSharedLibrary
-
getPath
@Nullable public java.lang.String getPath()
Description copied from interface:SharedLibraryReturns the library path, if available.- Specified by:
getPathin interfaceSharedLibrary- Returns:
- the library path, or
nullif the path is not available.
-
address
public long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
free
public void free()
Description copied from interface:NativeResourceFrees any native resources held by this object.- Specified by:
freein interfaceNativeResource
-
-