public class JCompiler extends Object
| Constructor and Description |
|---|
JCompiler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
compile(File sourceDir) |
String |
getClasspath() |
String |
getOutputDirectory() |
String |
getSource() |
String |
getSourcepath() |
String |
getTarget() |
void |
setClasspath(String classpath) |
void |
setOutputDirectory(File outputDirectory) |
void |
setSource(String source) |
void |
setSourcepath(File sourcepath) |
void |
setTarget(String target) |
public JCompiler()
throws CompilerException
CompilerExceptionpublic boolean compile(File sourceDir) throws IOException
sourceDir - IOExceptionpublic String getClasspath()
public String getOutputDirectory()
public String getSource()
public String getSourcepath()
public String getTarget()
public void setClasspath(String classpath)
classpath - public void setOutputDirectory(File outputDirectory) throws IOException
outputDirectory - IOExceptionpublic void setSource(String source)
source - public void setSourcepath(File sourcepath) throws IOException
sourcepath - IOExceptionpublic void setTarget(String target)
target - Copyright © 2015. All rights reserved.