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 long
address()
Returns the raw pointer address as along
value.void
free()
Frees any native resources held by this object.java.lang.String
getName()
Returns the library name.java.lang.String
getPath()
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:SharedLibrary
Returns the library name.- Specified by:
getName
in interfaceSharedLibrary
-
getPath
@Nullable public java.lang.String getPath()
Description copied from interface:SharedLibrary
Returns the library path, if available.- Specified by:
getPath
in interfaceSharedLibrary
- Returns:
- the library path, or
null
if the path is not available.
-
address
public long address()
Description copied from interface:Pointer
Returns the raw pointer address as along
value.
-
free
public void free()
Description copied from interface:NativeResource
Frees any native resources held by this object.- Specified by:
free
in interfaceNativeResource
-
-