com.sun.tools.javah
Class JNI

java.lang.Object
  extended by com.sun.tools.javah.Gen
      extended by com.sun.tools.javah.JNI

public class JNI
extends Gen

Header file generator for JNI.


Field Summary
 
Fields inherited from class com.sun.tools.javah.Gen
classes, force, lineSep, outDir, outFile, root
 
Constructor Summary
JNI(RootDoc root)
           
 
Method Summary
 java.lang.String getIncludes()
          Override this method to provide a list of #include statements required by the native interface.
protected  java.lang.String jniType(Type t)
           
 void write(java.io.OutputStream o, ClassDoc clazz)
          Override this abstract method, generating content for the named class into the outputstream.
 
Methods inherited from class com.sun.tools.javah.Gen
baseFileName, cppGuardBegin, cppGuardEnd, defineForStatic, getAllFields, getFileName, getFileSuffix, guardBegin, guardEnd, run, setClasses, setForce, setOutDir, setOutFile, wrapWriter, writeFileTop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JNI

public JNI(RootDoc root)
Method Detail

getIncludes

public java.lang.String getIncludes()
Description copied from class: Gen
Override this method to provide a list of #include statements required by the native interface.

Specified by:
getIncludes in class Gen

write

public void write(java.io.OutputStream o,
                  ClassDoc clazz)
           throws java.lang.ClassNotFoundException
Description copied from class: Gen
Override this abstract method, generating content for the named class into the outputstream.

Specified by:
write in class Gen
Throws:
java.lang.ClassNotFoundException

jniType

protected final java.lang.String jniType(Type t)