CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Raif S. Naffah <raif> 06/09/26 20:47:09
Modified files:
tools/gnu/classpath/tools/javah: CniIncludePrinter.java
Printer.java
JniIncludePrinter.java
Main.java JniStubPrinter.java
CniStubPrinter.java
. : ChangeLog
Log message:
2006-09-27 Raif S. Naffah <[EMAIL PROTECTED]>
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java
(CniIncludePrinter):
Accept three additional arguments.
(writePreambleImpl): New method.
(getPrintStreamImpl): Likewise.
(printClass): Adapted to use new methods in Printer superclass.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
Likewise.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/Main.java (outFileName): New
field.
(force): Likewise.
(getParser): Add support for -o option.
Check that only one of -d or -o is defined.
Add support for -jni option.
Add support for -force option.
(makeOutputFile): New method.
(writeHeaders): Removed File argument from signature.
(run): Take into account newly added fields.
Invoke concrete PrintStream implementations with augmented
constructors.
* tools/gnu/classpath/tools/javah/Printer.java
(outputFileObject): New field.
(isDirectory): Likewise.
(force): Likewise.
(wrotePreamble): Likewise.
(Printer): Changed ctor to accept three additional arguments.
(printClass): Changed signature to accept one ClassWrapper
argument.
(writePreambleImpl): New abstract method.
(getPrintStreamImpl): Likewise.
(getPrintStream): New method.
(writePreamble): Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/CniIncludePrinter.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/Printer.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/JniIncludePrinter.java?cvsroot=classpath&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/Main.java?cvsroot=classpath&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/JniStubPrinter.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/tools/gnu/classpath/tools/javah/CniStubPrinter.java?cvsroot=classpath&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8616&r2=1.8617