Skip navigation links
org.eclipse.persistence.tools.dbws
Class InMemoryCompiler
java.lang.Object
org.eclipse.persistence.tools.dbws.InMemoryCompiler
-
public class InMemoryCompiler
- extends java.lang.Object
PRIVATE: InMemoryCompiler wraps a JavaCompiler
. Only supports compiling a single file in-memory.
- Author:
- mnorman
Field Summary |
protected javax.tools.JavaCompiler |
compiler
|
protected javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> |
diagnosticsCollector
|
protected javax.tools.JavaFileManager |
fileManager
|
(package private) static java.lang.Iterable<java.lang.String> |
OPTIONS
|
protected java.lang.String |
targetFileName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTIONS
static final java.lang.Iterable<java.lang.String> OPTIONS
targetFileName
protected java.lang.String targetFileName
compiler
protected javax.tools.JavaCompiler compiler
diagnosticsCollector
protected javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> diagnosticsCollector
fileManager
protected javax.tools.JavaFileManager fileManager
InMemoryCompiler
public InMemoryCompiler(java.lang.String targetFileName)
getCompiler
public javax.tools.JavaCompiler getCompiler()
getDiagnosticsCollector
public javax.tools.DiagnosticCollector<javax.tools.JavaFileObject> getDiagnosticsCollector()
compile
public byte[] compile(java.lang.CharSequence source)
Skip navigation links