Uses of Class
org.codehaus.janino.util.resource.ResourceFinder
-
Packages that use ResourceFinder Package Description 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 Modifier and Type Field Description static ResourceFinder
Compiler. FIND_NEXT_TO_SOURCE_FILE
Special value for "classFileResourceFinder".Methods in org.codehaus.janino with parameters of type ResourceFinder Modifier and Type Method Description void
JavaSourceIClassLoader. setSourceFinder(ResourceFinder pathResourceFinder)
Constructors in org.codehaus.janino with parameters of type ResourceFinder Constructor Description CachingJavaSourceClassLoader(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String optionalCharacterEncoding, ResourceFinder classFileCacheResourceFinder, ResourceCreator classFileCacheResourceCreator)
Notice that this class is thread-safe if and only if theclassFileCacheResourceCreator
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, passCompiler.FIND_NEXT_TO_SOURCE_FILE
as theclassFileResourceFinder
andCompiler.CREATE_NEXT_TO_SOURCE_FILE
as theclassFileResourceCreator
.JavaSourceClassLoader(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String optionalCharacterEncoding)
Constructs aJavaSourceClassLoader
that finds Java™ source code through a givenResourceFinder
.JavaSourceIClassLoader(ResourceFinder sourceFinder, String optionalCharacterEncoding, IClassLoader optionalParentIClassLoader)
ResourceFinderIClassLoader(ResourceFinder resourceFinder, IClassLoader optionalParentIClassLoader)
-
Uses of ResourceFinder in org.codehaus.janino.util
Methods in org.codehaus.janino.util that return ResourceFinder Modifier and Type Method Description ResourceFinder
ResourceFinderClassLoader. getResourceFinder()
Constructors in org.codehaus.janino.util with parameters of type ResourceFinder Constructor Description ResourceFinderClassLoader(ResourceFinder resourceFinder, ClassLoader parent)
-
Uses of ResourceFinder in org.codehaus.janino.util.resource
Subclasses of ResourceFinder in org.codehaus.janino.util.resource Modifier and Type Class Description class
DirectoryResourceFinder
AFileResourceFinder
that finds file resources in a directory.class
FileResourceFinder
This class specializes theResourceFinder
for finding resources inFile
s.class
JarDirectoriesResourceFinder
Finds resources in any of the "*.jar" files that exist in a given set of directories.class
LazyMultiResourceFinder
AResourceFinder
that examines a set ofResourceFinder
s lazily as it searches for resources.class
MapResourceFinder
AResourceFinder
that provides access to resource stored as byte arrays in aMap
.class
MultiResourceFinder
AResourceFinder
that finds its resources through a collection of otherResourceFinder
s.class
PathResourceFinder
AResourceFinder
that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.class
ZipFileResourceFinder
AResourceFinder
that finds resources in a ZIP file.Fields in org.codehaus.janino.util.resource declared as ResourceFinder Modifier and Type Field Description static ResourceFinder
ResourceFinder. EMPTY_RESOURCE_FINDER
This one's useful when a resource finder is required, but cannot be created for some reason.Constructor parameters in org.codehaus.janino.util.resource with type arguments of type ResourceFinder Constructor Description LazyMultiResourceFinder(Iterator<ResourceFinder> resourceFinders)
MultiResourceFinder(Collection<ResourceFinder> resourceFinders)
PathResourceFinder(Iterator<ResourceFinder> entries)
-