public final class CompileUtil
extends java.lang.Object
Constructor and Description |
---|
CompileUtil()
Default constructor
|
CompileUtil(boolean compilewindow) |
CompileUtil(java.lang.String javaFile,
boolean compilewindow)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
compile()
Executes the current compiler compilerCommand
|
java.lang.String |
getCompilerArguments() |
java.lang.String |
getCompilerClasspath() |
java.lang.String |
getCompilerFile() |
java.lang.String |
getCompilerLocation() |
java.lang.String |
getDestDir() |
java.lang.String |
getJavaFile() |
java.lang.String |
getSourcepath() |
boolean |
isCompilerScreenEnabled() |
void |
printCompilerLine(java.lang.String line)
outputs a line to the compile screen
|
void |
setCompilerArguments(java.lang.String arguments)
Sets the additional compiler arguments
|
void |
setCompilerClasspath(java.lang.String classpath)
Sets the compiler classpath
|
void |
setCompilerLocation(java.lang.String path)
Sets compiler command
|
void |
setCompileScreenVisible(boolean state)
shows/hides the compile screen
|
void |
setComplieScreenSize(int width,
int height)
Sets the size of the compiler screen size
|
void |
setDestDir(java.lang.String destDir) |
void |
setJavaFile(java.lang.String javaFile) |
void |
setSourcepath(java.lang.String sourcepath) |
public CompileUtil()
public CompileUtil(java.lang.String javaFile, boolean compilewindow)
javaFile
- file to compilecompilewindow
- if true show the compile window with outputpublic CompileUtil(boolean compilewindow)
public java.lang.String getJavaFile()
public void setJavaFile(java.lang.String javaFile)
public java.lang.String getDestDir()
public void setDestDir(java.lang.String destDir)
public java.lang.String getSourcepath()
public void setSourcepath(java.lang.String sourcepath)
public void setCompilerLocation(java.lang.String path)
public java.lang.String getCompilerLocation()
public void setCompilerClasspath(java.lang.String classpath)
public java.lang.String getCompilerClasspath()
public void setCompilerArguments(java.lang.String arguments)
public java.lang.String getCompilerArguments()
public java.lang.String getCompilerFile()
public boolean isCompilerScreenEnabled()
public void setComplieScreenSize(int width, int height)
public void setCompileScreenVisible(boolean state)
public void printCompilerLine(java.lang.String line)
public void compile() throws CompilerException, java.io.FileNotFoundException
CompilerException
java.io.FileNotFoundException