public class Compiler
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Compiler.NameCode
Associate a class name to code
Last modification : 18 juin 2010 Version 0.0.0 |
Constructor and Description |
---|
Compiler() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
compil(Compiler.NameCode... nameCodes)
Compile several class in same time (Use full if a class need an other one to compil them in same time)
|
static void |
compil(java.io.File directory,
Compiler.NameCode... nameCodes)
Compile a list of code inside a specified directory
|
static java.io.File |
compil(java.lang.String classCompleteName,
java.lang.String code)
Compile a class
|
public static void compil(java.io.File directory, Compiler.NameCode... nameCodes) throws java.io.IOException
directory
- Directory destination of compiled codenameCodes
- Codes to compilejava.io.IOException
- On writing issuepublic static java.io.File compil(Compiler.NameCode... nameCodes) throws java.io.IOException
nameCodes
- Couples of name/code to compilejava.io.IOException
- On read/write problempublic static java.io.File compil(java.lang.String classCompleteName, java.lang.String code) throws java.io.IOException
classCompleteName
- Class to compilecode
- Code of classjava.io.IOException
- On read/write issue