| Package | Description |
|---|---|
| org.codehaus.janino |
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
Compiler.classFileCreator: Indicates that each .class file is to be creted in the same
directory as the corresponding .java file. |
| Modifier and Type | Method and Description |
|---|---|
void |
Compiler.setClassFileCreator(ResourceCreator classFileCreator) |
| 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. the classFileCacheResourceFinder sees the resource written by the
classFileCacheResourceCreator only after the OutputStream is closed. |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectoryResourceCreator
Creates a resource in a given directory:
destinationDirectory/resourceName
|
class |
FileResourceCreator
Stores a stream of bytes in a named resource.
|
class |
MapResourceCreator
Creates resources as byte arrays in a delegate
Map. |
Copyright © 2019. All rights reserved.