org.eigenbase.javac
Class JaninoCompiler.JaninoCompilerArgs
java.lang.Object
org.eigenbase.javac.JavaCompilerArgs
org.eigenbase.javac.JaninoCompiler.JaninoCompilerArgs
- Enclosing class:
- JaninoCompiler
private static class JaninoCompiler.JaninoCompilerArgs
- extends JavaCompilerArgs
Methods inherited from class org.eigenbase.javac.JavaCompilerArgs |
addFile, clear, getClassLoader, getFileNames, getStringArray, setClassLoader, setClasspath, setDebugInfo, setString, setStringArray, setVerbose |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destdir
String destdir
fullClassName
String fullClassName
source
String source
JaninoCompiler.JaninoCompilerArgs
public JaninoCompiler.JaninoCompilerArgs()
supportsSetSource
public boolean supportsSetSource()
- Description copied from class:
JavaCompilerArgs
- Returns whether
JavaCompilerArgs.setSource(java.lang.String, java.lang.String)
will work.
- Overrides:
supportsSetSource
in class JavaCompilerArgs
setDestdir
public void setDestdir(String destdir)
- Overrides:
setDestdir
in class JavaCompilerArgs
setSource
public void setSource(String source,
String fileName)
- Description copied from class:
JavaCompilerArgs
- Sets the source code (that is, the full java program, generally starting
with something like "package com.foo.bar;") and the file name.
This method is optional. It only works if the compiler supports
in-memory compilation. If this compiler does not return in-memory
compilation (which the base class does not), JavaCompilerArgs.supportsSetSource()
returns false, and this method throws UnsupportedOperationException
.
- Overrides:
setSource
in class JavaCompilerArgs
setFullClassName
public void setFullClassName(String fullClassName)
- Overrides:
setFullClassName
in class JavaCompilerArgs