Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
org.codehaus.janino.util.resource |
Classes related to loading "resources" (
ResourceFinder ) and creating
resources (ResourceCreator ). |
Modifier and Type | Field and Description |
---|---|
static ResourceCreator |
Compiler.CREATE_NEXT_TO_SOURCE_FILE
Special value for "classFileResourceCreator".
|
Constructor and Description |
---|
CachingJavaSourceClassLoader(ClassLoader parentClassLoader,
ResourceFinder sourceFinder,
String optionalCharacterEncoding,
ResourceFinder classFileCacheResourceFinder,
ResourceCreator classFileCacheResourceCreator)
Notice that this class is thread-safe if and only if the
classFileCacheResourceCreator stores its data
atomically, i.e. |
Compiler(ResourceFinder sourceFinder,
IClassLoader iClassLoader,
ResourceFinder classFileFinder,
ResourceCreator classFileCreator,
String optionalCharacterEncoding,
boolean verbose,
boolean debugSource,
boolean debugLines,
boolean debugVars,
WarningHandler optionalWarningHandler)
To mimic the behavior of JAVAC with a missing "-d" command line option,
pass
Compiler.FIND_NEXT_TO_SOURCE_FILE as the classFileResourceFinder and
Compiler.CREATE_NEXT_TO_SOURCE_FILE as the classFileResourceCreator . |
Modifier and Type | Class and Description |
---|---|
class |
DirectoryResourceCreator
Creates a resource in a given directory:
|
class |
FileResourceCreator
Stores a stream of bytes in a named resource.
|
class |
MapResourceCreator
Creates resources as byte arrays in a delegate
Map . |
Copyright © 2001–2016. All rights reserved.