C D E F G H I J L M O S T W

C

compile(String[], JavaSourceReaderFactory, JavaClassReaderFactory, JavaClassWriterFactory, JavaCompilerErrorHandler) - Method in interface org.tempuri.javac.JavaCompiler
Compile a set of source classes.
compile(String[], JavaSourceReaderFactory, JavaClassReaderFactory, JavaClassWriterFactory, JavaCompilerErrorHandler) - Method in class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 

D

defineClass(String, byte[]) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.DefiningClassLoader
 

E

example - package example
 

F

FileSystemClassFactory - interface org.tempuri.javac.util.FileSystemClassFactory.
Interface to a utility to simulate the behavior of javac in locating source files, compiled classes, and generating output
FileSystemClassFactoryImpl - class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.
 
FileSystemClassFactoryImpl.ClassReaderImpl - class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl.
 
FileSystemClassFactoryImpl.ClassReaderImpl(String, File) - Constructor for class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 
FileSystemClassFactoryImpl.ClassReaderImpl(String, JarFile, JarEntry) - Constructor for class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 
FileSystemClassFactoryImpl.ClassWriterImpl - class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassWriterImpl.
 
FileSystemClassFactoryImpl.SourceReaderImpl - class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl.
 
FileSystemClassFactoryImpl.SourceReaderImpl(String, File) - Constructor for class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
 
FileSystemClassFactoryImpl.SourceReaderImpl(String, JarFile, JarEntry) - Constructor for class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
 
FileSystemClassFactoryImpl() - Constructor for class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
findClass(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.DefiningClassLoader
 

G

getClassName() - Method in interface org.tempuri.javac.JavaSourceReader
Get the name of the Java class this object knows how to read
getClassName() - Method in interface org.tempuri.javac.JavaClassWriter
Returns the name of the class to be written
getClassName() - Method in interface org.tempuri.javac.JavaClassReader
Returns the name of the class to be read
getClassName() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.SourceReaderImpl
 
getClassName() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassReaderImpl
 
getClassName() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassWriterImpl
 
getClassName() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
 
getClassName() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 
getClassName() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassWriterImpl
 
getClassReader(String) - Method in interface org.tempuri.javac.JavaClassReaderFactory
Returns a JavaClassReader for the specified class name
getClassReader(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
getClassReader(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
getClassWriter(String) - Method in interface org.tempuri.javac.JavaClassWriterFactory
Called by the compiler for each class it compiles, to handle the generated output.
getClassWriter(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
getClassWriter(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
getInputStream() - Method in interface org.tempuri.javac.JavaClassReader
Returns an InputStream containing the class's content
getInputStream() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassReaderImpl
 
getInputStream() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 
getOutput() - Method in interface org.tempuri.javac.util.MemoryClassFactory
Get the compiled output files as a map
getOutput() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
getReader() - Method in interface org.tempuri.javac.JavaSourceReader
Get a Reader for the source code of the class
getReader() - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.SourceReaderImpl
 
getReader() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
 
getResourceAsStream(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.DefiningClassLoader
 
getSourceReader(String) - Method in interface org.tempuri.javac.JavaSourceReaderFactory
Get a source reader for a Java class.
getSourceReader(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
getSourceReader(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
getURI() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.SourceReaderImpl
 
getURI() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 
getURI() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassWriterImpl
 

H

handleError(String, int, int, Object) - Method in interface org.tempuri.javac.JavaCompilerErrorHandler
Handle a Java compilation error

I

Interpreter - class example.Interpreter.
Example that compiles and loads source files and runs the result.
Interpreter() - Constructor for class example.Interpreter
 

J

Javac - class example.Javac.
Partial simulation of the behavior of the standard javac command line compiler using the JavaCompiler API
Javac() - Constructor for class example.Javac
 
JavaClassReader - interface org.tempuri.javac.JavaClassReader.
Interface to a object that knows how to locate a compiled Java class
JavaClassReaderFactory - interface org.tempuri.javac.JavaClassReaderFactory.
Virtual constructor for objects that know how to locate compiled Java classes
JavaClassWriter - interface org.tempuri.javac.JavaClassWriter.
Interface to an object that knows how to handle a generated Java class
JavaClassWriterFactory - interface org.tempuri.javac.JavaClassWriterFactory.
Virtual constructor for JavaClassWriters
JavaCompiler - interface org.tempuri.javac.JavaCompiler.
Generic interface to a Java compilation system
JavaCompilerErrorHandler - interface org.tempuri.javac.JavaCompilerErrorHandler.
Interface to an object that knows how to handle Java compilation errors
JavaCompilerImpl - class org.tempuri.javacImpl.eclipse.JavaCompilerImpl.
Implementation of JavaCompiler with eclipse.org Java Development Tools compiler
JavaCompilerImpl() - Constructor for class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 
JavaSourceReader - interface org.tempuri.javac.JavaSourceReader.
Interface to a object that knows how to locate Java source code
JavaSourceReaderFactory - interface org.tempuri.javac.JavaSourceReaderFactory.
Virtual constructor for JavaClassReaders

L

loadClass(String) - Method in interface org.tempuri.javac.util.MemoryClassFactory
Convenience method to load a class you just compiled in memory
loadClass(String) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 

M

main(String[]) - Static method in class example.MemoryExample
 
main(String[]) - Static method in class example.Javac
 
main(String[]) - Static method in class example.Interpreter
Run the interpreter.
makeClassName(String) - Static method in class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 
makeClassName(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Convert a file name to its associated Java class name
makeClassName(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
makeFileName(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Convert a class name to its associated file name
makeFileName(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
MemoryClassFactory - interface org.tempuri.javac.util.MemoryClassFactory.
Interface to a utility object that supports compiling and loading Java source code in memory
MemoryClassFactoryImpl - class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.
 
MemoryClassFactoryImpl.ClassReaderImpl - class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassReaderImpl.
 
MemoryClassFactoryImpl.ClassReaderImpl(String, InputStream) - Constructor for class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassReaderImpl
 
MemoryClassFactoryImpl.ClassWriterImpl - class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassWriterImpl.
 
MemoryClassFactoryImpl.DefiningClassLoader - class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.DefiningClassLoader.
 
MemoryClassFactoryImpl.DefiningClassLoader(ClassLoader) - Constructor for class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.DefiningClassLoader
 
MemoryClassFactoryImpl.SourceReaderImpl - class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.SourceReaderImpl.
 
MemoryClassFactoryImpl.SourceReaderImpl(String, String) - Constructor for class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.SourceReaderImpl
 
MemoryClassFactoryImpl() - Constructor for class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
MemoryExample - class example.MemoryExample.
Example of compling Java source in memory and loading the resulting class
MemoryExample() - Constructor for class example.MemoryExample
 

O

org.tempuri.javac - package org.tempuri.javac
 
org.tempuri.javac.util - package org.tempuri.javac.util
 
org.tempuri.javacImpl.eclipse - package org.tempuri.javacImpl.eclipse
 
org.tempuri.javacImpl.util - package org.tempuri.javacImpl.util
 

S

setBootClassPath(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Set the boot class path to use in locating compiled classes.
setBootClassPath(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
setClassLoader(ClassLoader) - Method in interface org.tempuri.javac.util.MemoryClassFactory
Set the class loader to use to locate existing classes.
setClassLoader(ClassLoader) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
setClassPath(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Set the class path to use in locating compiled classes.
setClassPath(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
setDebug(boolean) - Method in interface org.tempuri.javac.JavaCompiler
Choose whether the compiler should include the line number table and local variable table in generated class files
setDebug(boolean) - Method in class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 
setInput(Map) - Method in interface org.tempuri.javac.util.MemoryClassFactory
Set the input source files to be compiled.
setInput(Map) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl
 
setOutputDir(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Set the source path to use in locating Java source files.
setOutputDir(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
setSourcePath(String) - Method in interface org.tempuri.javac.util.FileSystemClassFactory
Set the source path to use in locating Java source files.
setSourcePath(String) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl
 
setSourceVersion(String) - Method in interface org.tempuri.javac.JavaCompiler
Choose the Java source version, e.g "1.2", "1.3", or "1.4"
setSourceVersion(String) - Method in class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 
setTargetVersion(String) - Method in interface org.tempuri.javac.JavaCompiler
Choose the target Java platform version, e.g "1.2", "1.3", or "1.4"
setTargetVersion(String) - Method in class org.tempuri.javacImpl.eclipse.JavaCompilerImpl
 

T

toString() - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassReaderImpl
 

W

writeClass(InputStream) - Method in interface org.tempuri.javac.JavaClassWriter
Handle a generated class.
writeClass(InputStream) - Method in class org.tempuri.javacImpl.util.MemoryClassFactoryImpl.ClassWriterImpl
 
writeClass(InputStream) - Method in class org.tempuri.javacImpl.util.FileSystemClassFactoryImpl.ClassWriterImpl
 

C D E F G H I J L M O S T W