|
|||||||||
| Home >> All >> org >> cantaloop >> cgimlet >> [ lang overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.cantaloop.cgimlet.lang
Interface CodeCompiler

- public interface CodeCompiler
Defines the interface of a compiler or interpreter. Implementations of this class may be used to check the validity of the generated code.
- Version:
- @version@ ($Revision: 1.3 $)
| Method Summary | |
void |
compile(java.io.File f)
Compiles the given file. |
void |
compile(java.util.List l)
Compiles the given list of files. |
org.cantaloop.tools.logging.Logger |
getLogger()
Returns the logger. |
java.io.File |
getTargetDir()
Returns the target directory of this compiler. |
void |
setLogger(org.cantaloop.tools.logging.Logger l)
Sets the logger that should be used to log the messages of the compiler |
void |
setTargetDir(java.io.File targetDir)
Sets the directory under which the compiled files should be placed. |
| Method Detail |
setLogger
public void setLogger(org.cantaloop.tools.logging.Logger l)
- Sets the logger that should be used to log the messages of the compiler
getLogger
public org.cantaloop.tools.logging.Logger getLogger()
- Returns the logger.
setTargetDir
public void setTargetDir(java.io.File targetDir)
- Sets the directory under which the compiled files should
be placed.
getTargetDir
public java.io.File getTargetDir()
- Returns the target directory of this compiler.
compile
public void compile(java.io.File f)
- Compiles the given file.
compile
public void compile(java.util.List l)
- Compiles the given list of files.
|
|||||||||
| Home >> All >> org >> cantaloop >> cgimlet >> [ lang overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC