Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
C
D
G
I
J
K
L
O
V
C
CompilationResult
- Interface in
org.apache.sling.commons.compiler
The compilation result allows clients of the java compiler to check for error messages, warnings (if not disabled by the options) and allows to access the compiled classes.
CompilationUnit
- Interface in
org.apache.sling.commons.compiler
This interface describes a compilation unit - usually a java class.
compile(CompilationUnit[], Options)
- Method in interface org.apache.sling.commons.compiler.
JavaCompiler
Compile the compilation units.
CompilerMessage
- Class in
org.apache.sling.commons.compiler
This class encapsulates a message produced the compiler.
CompilerMessage(String, int, int, String)
- Constructor for class org.apache.sling.commons.compiler.
CompilerMessage
The error message constructor.
D
didCompile()
- Method in interface org.apache.sling.commons.compiler.
CompilationResult
Was a compilation required or were all classes recent?
G
getColumn()
- Method in class org.apache.sling.commons.compiler.
CompilerMessage
Return the column number of the program text originating this message
getErrors()
- Method in interface org.apache.sling.commons.compiler.
CompilationResult
Return a list of error messages that occured during compilation.
getFile()
- Method in class org.apache.sling.commons.compiler.
CompilerMessage
Return the filename associated with this compiler message.
getLastModified()
- Method in interface org.apache.sling.commons.compiler.
CompilationUnit
Return the last modified for the compilation unit.
getLine()
- Method in class org.apache.sling.commons.compiler.
CompilerMessage
Return the line number of the program text originating this message
getMainClassName()
- Method in interface org.apache.sling.commons.compiler.
CompilationUnit
Returns the name of the top level public type.
getMessage()
- Method in class org.apache.sling.commons.compiler.
CompilerMessage
Return the message
getSource()
- Method in interface org.apache.sling.commons.compiler.
CompilationUnit
Return an input stream for the contents.
getSourceVersion()
- Method in class org.apache.sling.commons.compiler.
Options
getTargetVersion()
- Method in class org.apache.sling.commons.compiler.
Options
getWarnings()
- Method in interface org.apache.sling.commons.compiler.
CompilationResult
Return a list of warnings that occured during compilation.
I
isGenerateDebugInfo()
- Method in class org.apache.sling.commons.compiler.
Options
J
JavaCompiler
- Interface in
org.apache.sling.commons.compiler
The
JavaCompiler
provides platform independant Java compilation support.
K
KEY_ADDITIONAL_CLASS_LOADER
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the additional class loader.
KEY_CLASS_LOADER
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the class loader.
KEY_CLASS_LOADER_WRITER
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the class loader writer.
KEY_FORCE_COMPILATION
- Static variable in class org.apache.sling.commons.compiler.
Options
The key to force the compilation - even if the class files are more recent.
KEY_GENERATE_DEBUG_INFO
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the generate debug info flag.
KEY_IGNORE_WARNINGS
- Static variable in class org.apache.sling.commons.compiler.
Options
The key to ignore warnings - if this option is turned on, the resulting compilation result does not get the warnings issued by the compiler.
KEY_SOURCE_VERSION
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the source version.
KEY_TARGET_VERSION
- Static variable in class org.apache.sling.commons.compiler.
Options
The key for the target version.
L
loadCompiledClass(String)
- Method in interface org.apache.sling.commons.compiler.
CompilationResult
Try to load the compiled class.
O
Options
- Class in
org.apache.sling.commons.compiler
Options for the compilation process.
Options()
- Constructor for class org.apache.sling.commons.compiler.
Options
Default options with the following presets: - generate debug info : true
Options(Options)
- Constructor for class org.apache.sling.commons.compiler.
Options
Create a new options object based on an existing one.
org.apache.sling.commons.compiler
- package org.apache.sling.commons.compiler
V
VERSION_1_1
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_2
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_3
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_4
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_5
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_6
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_1_7
- Static variable in class org.apache.sling.commons.compiler.
Options
VERSION_RUNTIME
- Static variable in class org.apache.sling.commons.compiler.
Options
C
D
G
I
J
K
L
O
V
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2007-2010
The Apache Software Foundation
. All Rights Reserved.