Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jp.ac.tsukuba.openjava
Class SunLibCompiler  view SunLibCompiler download SunLibCompiler.java

java.lang.Object
  extended byjp.ac.tsukuba.openjava.SunLibCompiler
All Implemented Interfaces:
openjava.ojc.JavaCompiler

public class SunLibCompiler
extends java.lang.Object
implements openjava.ojc.JavaCompiler

The class SunLibCompiler is an adapter for the compiler which invokes Sun's library javac.

The class path must includes lib/tools.jar in the jdk package.

Since:
jdk1.2

Field Summary
(package private)  java.lang.reflect.Method compileMethod
           
(package private)  java.lang.Object sunJavac
           
 
Constructor Summary
SunLibCompiler()
           
 
Method Summary
 void compile(java.lang.String[] args)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sunJavac

java.lang.Object sunJavac

compileMethod

java.lang.reflect.Method compileMethod
Constructor Detail

SunLibCompiler

public SunLibCompiler()
Method Detail

main

public static void main(java.lang.String[] args)

compile

public void compile(java.lang.String[] args)
Specified by:
compile in interface openjava.ojc.JavaCompiler