IClassBodyEvaluator, then the tokens are interpreted as a Java class body and compiled into a Class which
is accessible through IClassBodyEvaluator#getClazz().
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | cook(InputStream is)
Reads, scans, parses and compiles Java tokens from the given |
| public void | cook(String
Used when reporting errors and warnings fileName, InputStream is)Reads, scans, parses and compiles Java tokens from the given |
| public void | cook(InputStream is, String encoding)
Reads, scans, parses and compiles Java tokens from the given |
| public void | cook(String
Used when reporting errors and warnings fileName, InputStream is, String encoding)Reads, scans, parses and compiles Java tokens from the given |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public Map | |
| public void | setSourceVersion(int version)
Specifies the version of source code accepted, in analogy with JAVAC's |
| public void | setTargetVersion(int version)
Generates class files that target a specified release of the virtual machine, in analogy with JAVAC's |
| cook | back to summary |
|---|---|
| public void cook(String fileName, Reader r) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given
| |
| cook | back to summary |
|---|---|
| public void cook(Reader r) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given | |
| cook | back to summary |
|---|---|
| public void cook(InputStream is) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given | |
| cook | back to summary |
|---|---|
| public void cook(String fileName, InputStream is) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given
| |
| cook | back to summary |
|---|---|
| public void cook(InputStream is, String encoding) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given | |
| cook | back to summary |
|---|---|
| public void cook(String fileName, InputStream is, String encoding) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given
| |
| cook | back to summary |
|---|---|
| public void cook(String s) throws CompileException Reads, scans, parses and compiles Java tokens from the given | |
| cook | back to summary |
|---|---|
| public void cook(String fileName, String s) throws CompileException Reads, scans, parses and compiles Java tokens from the given
| |
| cookFile | back to summary |
|---|---|
| public void cookFile(File file) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given | |
| cookFile | back to summary |
|---|---|
| public void cookFile(File file, String encoding) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the given | |
| cookFile | back to summary |
|---|---|
| public void cookFile(String fileName) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the named file, encoded in the "platform default encoding". | |
| cookFile | back to summary |
|---|---|
| public void cookFile(String fileName, String encoding) throws CompileException, IOException Reads, scans, parses and compiles Java tokens from the named file with the given encoding. | |
| getBytecodes | back to summary |
|---|---|
public Map
| |
| setSourceVersion | back to summary |
|---|---|
| public void setSourceVersion(int version) Specifies the version of source code accepted, in analogy with JAVAC's | |
| setTargetVersion | back to summary |
|---|---|
| public void setTargetVersion(int version) Generates class files that target a specified release of the virtual machine, in analogy with JAVAC's | |