|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.esterel.cec.CEC
public final class CEC
Wrapper class to execute CEC executables.
Nested Class Summary | |
---|---|
static class |
CEC.MODULE
all modules that are part of the CEC. |
Method Summary | |
---|---|
static InputStream |
exec(CEC.MODULE module,
InputStream input)
Execute single CEC module. |
static URI |
run(URI strlFile)
Compile Esterel file to C. |
static URI |
run(URI strlFile,
File outFile)
Compile Esterel file to C. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InputStream exec(CEC.MODULE module, InputStream input) throws KielerException
module
- name of the moduleinput
- input stream for the compilation
KielerException
- thrown for any execution errorpublic static URI run(URI strlFile, File outFile) throws IOException, KielerException
strlFile
- name of the input File.outFile
- output file for the C code
IOException
- if file cannot be read/written
KielerException
- thrown if compiler can not be executed or for compilation errorspublic static URI run(URI strlFile) throws IOException, KielerException
strlFile
- name of the input File.
IOException
- if file cannot be read/written
KielerException
- thrown if compiler can not be executed or for compilation errors
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |