public abstract class NativeResourceHolder
extends java.lang.Object
| Constructor and Description |
|---|
NativeResourceHolder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkNotReleased()
Assert that the native resources have not been freed.
|
void |
close()
Free up native resources of the decoder.
|
protected void |
finalize() |
protected abstract void |
freeResources()
Free the native resources.
|
protected void checkNotReleased()
public void close()
protected abstract void freeResources()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable