public class ClientJNI
extends java.lang.Object
ClientJNI
writes the JNI C code that links the Java
client to the IOR. The constructor takes a C language writer stream and
method generateCode
writes the C JNI code for the specified
symbol to the output stream. The language writer output stream is not
closed by this object.Constructor and Description |
---|
ClientJNI(LanguageWriterForC writer,
Context context)
Create a
ClientJNI object that will write symbol
information to the provided output language writer stream. |
Modifier and Type | Method and Description |
---|---|
void |
generateCode(Extendable ext)
Write Java JNI information for the provided symbol to the language
writer output stream provided in the class constructor.
|
static void |
generateCode(Extendable symbol,
LanguageWriterForC writer,
Context context)
This is a convenience utility function that writes the JNI client
information into the provided language writer output stream.
|
public ClientJNI(LanguageWriterForC writer, Context context)
ClientJNI
object that will write symbol
information to the provided output language writer stream.public static void generateCode(Extendable symbol, LanguageWriterForC writer, Context context) throws CodeGenerationException
CodeGenerationException
public void generateCode(Extendable ext) throws CodeGenerationException
CodeGenerationException