|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jscience.computing.ai.expertsystem.compiler.JavaCompiler
public class JavaCompiler
Auxiliar class that compiles java files into bytecodes (.class files).
Constructor Summary | |
---|---|
JavaCompiler()
|
Method Summary | |
---|---|
static boolean |
compileJavaFile(java.lang.String fileName)
Compile a given .java source file. |
static void |
main(java.lang.String[] args)
Test method for this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JavaCompiler()
Method Detail |
---|
public static boolean compileJavaFile(java.lang.String fileName) throws JeopsException
fileName
- the name of the .java source file.
true
if the class could be compiled;
false
otherwise.
JeopsException
- if some error occurs.public static void main(java.lang.String[] args)
args
- the name of the file to be compiled.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |