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 ResourceFinderCompiler. FIND_NEXT_TO_SOURCE_FILESpecial value for "classFileResourceFinder".Methods in org.codehaus.janino with parameters of type ResourceFinder Modifier and Type Method Description voidJavaSourceIClassLoader. 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 theclassFileCacheResourceCreatorstores 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_FILEas theclassFileResourceFinderandCompiler.CREATE_NEXT_TO_SOURCE_FILEas theclassFileResourceCreator.JavaSourceClassLoader(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String optionalCharacterEncoding)Constructs aJavaSourceClassLoaderthat 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 ResourceFinderResourceFinderClassLoader. 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 classDirectoryResourceFinderAFileResourceFinderthat finds file resources in a directory.classFileResourceFinderThis class specializes theResourceFinderfor finding resources inFiles.classJarDirectoriesResourceFinderFinds resources in any of the "*.jar" files that exist in a given set of directories.classLazyMultiResourceFinderAResourceFinderthat examines a set ofResourceFinders lazily as it searches for resources.classMapResourceFinderAResourceFinderthat provides access to resource stored as byte arrays in aMap.classMultiResourceFinderAResourceFinderthat finds its resources through a collection of otherResourceFinders.classPathResourceFinderAResourceFinderthat finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.classZipFileResourceFinderAResourceFinderthat finds resources in a ZIP file.Fields in org.codehaus.janino.util.resource declared as ResourceFinder Modifier and Type Field Description static ResourceFinderResourceFinder. EMPTY_RESOURCE_FINDERThis 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)
-