|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ResourceFinder | |
---|---|
org.codehaus.janino | The classes in this package pose the core of the Janino JavaTM compiler. |
org.codehaus.janino.util | Application-independent helper classes. |
org.codehaus.janino.util.resource | Classes related to loading "resources"
(ResourceFinder ) and
creating resources
(ResourceCreator ). |
Uses of ResourceFinder in org.codehaus.janino |
---|
Fields in org.codehaus.janino declared as ResourceFinder | |
---|---|
static ResourceFinder |
Compiler.FIND_NEXT_TO_SOURCE_FILE
Special value for "classFileResourceFinder". |
Methods in org.codehaus.janino with parameters of type ResourceFinder | |
---|---|
void |
JavaSourceIClassLoader.setSourceFinder(ResourceFinder pathResourceFinder)
|
Constructors in org.codehaus.janino with parameters of type ResourceFinder | |
---|---|
CachingJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader,
ResourceFinder sourceFinder,
java.lang.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,
java.lang.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 . |
|
JavaSourceClassLoader(java.lang.ClassLoader parentClassLoader,
ResourceFinder sourceFinder,
java.lang.String optionalCharacterEncoding)
Set up a JavaSourceClassLoader that finds Java™ source code through
a given ResourceFinder . |
|
JavaSourceIClassLoader(ResourceFinder sourceFinder,
java.lang.String optionalCharacterEncoding,
java.util.Set unitCompilers,
IClassLoader optionalParentIClassLoader)
Notice that the unitCompilers set is both read and written
by the JavaSourceIClassLoader : As it searches for IClass es, it looks
into unitCompilers for class declarations, and as it opens,
scans and parses compilation units on-the-fly, it adds them to
unitCompilers . |
|
ResourceFinderIClassLoader(ResourceFinder resourceFinder,
IClassLoader optionalParentIClassLoader)
|
Uses of ResourceFinder in org.codehaus.janino.util |
---|
Methods in org.codehaus.janino.util that return ResourceFinder | |
---|---|
ResourceFinder |
ResourceFinderClassLoader.getResourceFinder()
|
Constructors in org.codehaus.janino.util with parameters of type ResourceFinder | |
---|---|
ResourceFinderClassLoader(ResourceFinder resourceFinder,
java.lang.ClassLoader parent)
|
Uses of ResourceFinder in org.codehaus.janino.util.resource |
---|
Subclasses of ResourceFinder in org.codehaus.janino.util.resource | |
---|---|
class |
DirectoryResourceFinder
A FileResourceFinder that finds file resources in
a directory. |
class |
FileResourceFinder
This class specializes the ResourceFinder
for finding resources in File s. |
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 ResourceFinder s lazily as it
searches for resources. |
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 ResourceFinder s. |
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. |
Fields in org.codehaus.janino.util.resource declared as ResourceFinder | |
---|---|
static ResourceFinder |
ResourceFinder.EMPTY_RESOURCE_FINDER
This one's useful when a resource finder is required, but cannot be created for some reason. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |