Package gw.lang.gosuc.simple
Class GosuCompiler
- java.lang.Object
-
- gw.lang.gosuc.simple.GosuCompiler
-
- All Implemented Interfaces:
IGosuCompiler
public class GosuCompiler extends Object implements IGosuCompiler
-
-
Field Summary
Fields Modifier and Type Field Description protected File
_compilingSourceFile
protected GosuInitialization
_gosuInitialization
-
Constructor Summary
Constructors Constructor Description GosuCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
compile(CommandLineOptions options, ICompilerDriver driver)
boolean
compile(File sourceFile, ICompilerDriver driver)
void
copyFile(File sourceFile, File destFile)
static String
getStackTrace(Throwable e)
long
initializeGosu(List<String> sourceFolders, List<String> classpath, List<String> backingSourcePath, String outputPath)
boolean
isPathIgnored(String sourceFile)
void
uninitializeGosu()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.gosuc.simple.IGosuCompiler
initializeGosu, unitializeGosu
-
-
-
-
Field Detail
-
_gosuInitialization
protected GosuInitialization _gosuInitialization
-
_compilingSourceFile
protected File _compilingSourceFile
-
-
Method Detail
-
compile
public boolean compile(CommandLineOptions options, ICompilerDriver driver)
- Specified by:
compile
in interfaceIGosuCompiler
-
compile
public boolean compile(File sourceFile, ICompilerDriver driver)
- Specified by:
compile
in interfaceIGosuCompiler
-
copyFile
public void copyFile(File sourceFile, File destFile) throws IOException
- Throws:
IOException
-
initializeGosu
public long initializeGosu(List<String> sourceFolders, List<String> classpath, List<String> backingSourcePath, String outputPath)
- Specified by:
initializeGosu
in interfaceIGosuCompiler
-
uninitializeGosu
public void uninitializeGosu()
- Specified by:
uninitializeGosu
in interfaceIGosuCompiler
-
isPathIgnored
public boolean isPathIgnored(String sourceFile)
- Specified by:
isPathIgnored
in interfaceIGosuCompiler
-
-