public class CodeGenUtil extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_COMPILER |
static String |
DEFAULT_MEM_MAX |
static String |
DEFAULT_MEM_START |
Constructor and Description |
---|
CodeGenUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
externalCompile(List<File> srcFiles,
File outdir,
File[] cp,
boolean debug)
Deprecated.
|
static boolean |
externalCompile(List<File> srcFiles,
File outdir,
File[] cp,
boolean debug,
String javacPath,
String memStart,
String memMax,
boolean quiet,
boolean verbose) |
static boolean |
externalCompile(List<File> srcFiles,
File outdir,
File[] cp,
boolean debug,
String javacPath,
String genver,
String memStart,
String memMax,
boolean quiet,
boolean verbose)
Invokes javac on the generated source files in order to turn them
into binary files in the output directory.
|
static URI |
resolve(URI base,
URI child) |
static File[] |
systemClasspath() |
public static final String DEFAULT_MEM_START
public static final String DEFAULT_MEM_MAX
public static final String DEFAULT_COMPILER
public static boolean externalCompile(List<File> srcFiles, File outdir, File[] cp, boolean debug)
GenFile
s for all of the classes produced or null if an
error occurred.public static boolean externalCompile(List<File> srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String memStart, String memMax, boolean quiet, boolean verbose)
public static boolean externalCompile(List<File> srcFiles, File outdir, File[] cp, boolean debug, String javacPath, String genver, String memStart, String memMax, boolean quiet, boolean verbose)
GenFile
s for all of the classes produced or null if an
error occurred.public static File[] systemClasspath()