|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.canica.tool.JDKTool
public class JDKTool
This class is responsible to provide services to execute the tools of the Java SDK 1.4.2 System.
| Nested Class Summary | |
|---|---|
protected class |
JDKTool.CommandThread
A thread class to execute a given shell command in a given directory. |
| Constructor Summary | |
|---|---|
JDKTool(Mainable canica,
OutputPaneable output,
FileBrowserable fileBrowser)
Constructor |
|
| Method Summary | |
|---|---|
void |
compileJava(String command,
String filename,
File parentFile)
It executes the javac command to compile the file name and show its output to main program. |
Thread |
compileJavaSync(String command,
String filename,
File parentFile)
|
Thread |
doRunCommand(String cmd,
String target,
File parentFile)
Run a specific command in the operating system. |
void |
run(String command,
String filename,
File parentFile)
Runs the file associated with the editing buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDKTool(Mainable canica,
OutputPaneable output,
FileBrowserable fileBrowser)
| Method Detail |
|---|
public void compileJava(String command,
String filename,
File parentFile)
command - Command namefilename - File name to compileparentFile - mainable - Canica main program
public Thread compileJavaSync(String command,
String filename,
File parentFile)
public void run(String command,
String filename,
File parentFile)
public Thread doRunCommand(String cmd,
String target,
File parentFile)
cmd - Commandtarget - execution targetparentFile - Directory
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||