org.cruxframework.crux.tools.compile
Class JCompiler
java.lang.Object
org.cruxframework.crux.tools.compile.JCompiler
public class JCompiler
- extends Object
Calls the java compiler to compile all java files found under the specified source folder.
- Author:
- Thiago da Rosa de Bustamante
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCompiler
public JCompiler()
throws CompilerException
- Throws:
CompilerException
compile
public boolean compile(File sourceDir)
throws IOException
- Parameters:
sourceDir -
- Returns:
-
- Throws:
IOException
getClasspath
public String getClasspath()
- Returns:
getOutputDirectory
public String getOutputDirectory()
- Returns:
getSource
public String getSource()
- Returns:
getSourcepath
public String getSourcepath()
- Returns:
getTarget
public String getTarget()
- Returns:
setClasspath
public void setClasspath(String classpath)
- Parameters:
classpath -
setOutputDirectory
public void setOutputDirectory(File outputDirectory)
throws IOException
- Parameters:
outputDirectory -
- Throws:
IOException
setSource
public void setSource(String source)
- Parameters:
source -
setSourcepath
public void setSourcepath(File sourcepath)
throws IOException
- Parameters:
sourcepath -
- Throws:
IOException
setTarget
public void setTarget(String target)
- Parameters:
target -
Copyright © 2014. All rights reserved.