CompilerNameCompilerSynopsis
DescriptionThe Compiler class encapsulates a facility for compiling Java classes to native code. As provided by Sun, the methods of this class do not actually do anything. However, if the system property java.compiler has been defined and if the method System.loadLibrary() is able to load the library named by the property, the methods of this class use the implementations provided in the library. The Compiler class has no public constructors, so it cannot be instantiated. Class Summary
public final class java.lang.Compiler extends java.lang.Object { // Class Methods public static native Object command(Object any); public static native boolean compileClass(Class clazz); public static native boolean compileClasses(String string); public static native void disable(); public static native void enable(); } Class Methodscommandpublic static native Object command(Object any)
compileClasspublic static native boolean compileClass(Class clazz)
compileClassespublic static native boolean compileClasses(String string)
disablepublic static native void disable()
enablepublic static native void enable()
Inherited Methods
See AlsoObject, System |
|