| Package | Description |
|---|---|
| org.codehaus.commons.compiler |
This package declares interfaces for the implementation of an
IExpressionEvaluator, an IScriptEvaluator, an
IClassBodyEvaluator and an ISimpleCompiler. |
| org.codehaus.commons.compiler.util | |
| org.codehaus.commons.compiler.util.resource |
Classes related to loading "resources" (
ResourceFinder) and
creating resources (ResourceCreator). |
| Modifier and Type | Field and Description |
|---|---|
protected ResourceFinder |
AbstractCompiler.classFileFinder |
static ResourceFinder |
ICompiler.FIND_NEXT_TO_SOURCE_FILE
Special value for
ICompiler.setClassFileFinder(ResourceFinder). |
protected ResourceFinder |
AbstractCompiler.sourceFinder |
| Modifier and Type | Method and Description |
|---|---|
void |
ICompiler.setClassFileFinder(ResourceFinder classFileFinder)
This
ResourceFinder is used to check whether a .class resource already exists and is younger than the
.java resource from which it was generated. |
void |
AbstractCompiler.setClassFileFinder(ResourceFinder classFileFinder) |
void |
ICompiler.setClassFileFinder(ResourceFinder destination,
boolean rebuild)
Equivalent with {@code setClassFileFinder(rebuild ?
|
void |
AbstractCompiler.setClassFileFinder(ResourceFinder destination,
boolean rebuild) |
void |
ICompiler.setSourceFinder(ResourceFinder sourceFinder)
Finds more .java resources that need to be compiled, i.e. implements the "source path".
|
void |
AbstractCompiler.setSourceFinder(ResourceFinder sourceFinder) |
| Modifier and Type | Method and Description |
|---|---|
ResourceFinder |
ResourceFinderClassLoader.getResourceFinder() |
| Constructor and Description |
|---|
ResourceFinderClassLoader(ResourceFinder resourceFinder,
ClassLoader parent) |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectoryResourceFinder
A
FileResourceFinder that finds file resources in a directory. |
class |
FileResourceFinder
This class specializes the
ResourceFinder for finding resources
in Files. |
class |
JarDirectoriesResourceFinder
Finds resources in any of the "*.jar" files that exist in a given set of directories.
|
class |
LazyMultiResourceFinder
A
ResourceFinder that examines a set of ResourceFinders lazily as it searches for resources. |
class |
ListableResourceFinder |
class |
MapResourceFinder
A
ResourceFinder that provides access to resource stored as
byte arrays in a Map. |
class |
MultiResourceFinder
A
ResourceFinder that finds its resources through a collection of
other ResourceFinders. |
class |
PathResourceFinder
A
ResourceFinder that finds its resources along a "path"
consisting of JAR file names, ZIP file names, and directory names. |
class |
ZipFileResourceFinder
A
ResourceFinder that finds resources in a ZIP file. |
| Constructor and Description |
|---|
MultiResourceFinder(ResourceFinder... resourceFinders) |
| Constructor and Description |
|---|
LazyMultiResourceFinder(Iterator<ResourceFinder> resourceFinders) |
MultiResourceFinder(Iterable<? extends ResourceFinder> resourceFinders) |
PathResourceFinder(Iterator<ResourceFinder> entries) |
Copyright © 2019. All rights reserved.