public final class NativeMethods extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
register(Class clazz,
List<NativeMethod> methods)
Registers the native methods for a class.
|
static void |
unregister(Class clazz)
Removes all native method attachments for the specified class.
|
public static final void register(Class clazz, List<NativeMethod> methods)
clazz - The java class to register the native methods for.methods - The list of methods to attach to the class.public static final void unregister(Class clazz)
clazz - The class to unregister the native methods on.Copyright © 2017. All Rights Reserved.