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_compilingSourceFileprotected GosuInitialization_gosuInitialization
-
Constructor Summary
Constructors Constructor Description GosuCompiler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancompile(CommandLineOptions options, ICompilerDriver driver)booleancompile(File sourceFile, ICompilerDriver driver)voidcopyFile(File sourceFile, File destFile)static StringgetStackTrace(Throwable e)longinitializeGosu(List<String> sourceFolders, List<String> classpath, List<String> backingSourcePath, String outputPath)booleanisPathIgnored(String sourceFile)voiduninitializeGosu()-
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:
compilein interfaceIGosuCompiler
-
compile
public boolean compile(File sourceFile, ICompilerDriver driver)
- Specified by:
compilein 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:
initializeGosuin interfaceIGosuCompiler
-
uninitializeGosu
public void uninitializeGosu()
- Specified by:
uninitializeGosuin interfaceIGosuCompiler
-
isPathIgnored
public boolean isPathIgnored(String sourceFile)
- Specified by:
isPathIgnoredin interfaceIGosuCompiler
-
-