Uses of Class
org.codehaus.commons.compiler.util.resource.ResourceFinder
-
Packages that use ResourceFinder Package Description org.codehaus.commons.compiler This package declares interfaces for the implementation of anIExpressionEvaluator, anIScriptEvaluator, anIClassBodyEvaluatorand anISimpleCompiler.org.codehaus.commons.compiler.jdk An implementation of theorg.codehaus.commons.compilerAPI that uses the "JAVAC" Java compiler that is part of the "Java Development Kit" (JDK).org.codehaus.commons.compiler.jdk.util org.codehaus.commons.compiler.lang org.codehaus.commons.compiler.util Utility functionality for this project.org.codehaus.commons.compiler.util.resource Classes related to loading "resources" (ResourceFinder) and creating resources (ResourceCreator).org.codehaus.janino The core of the Janino Java compiler. -
-
Uses of ResourceFinder in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as ResourceFinder Modifier and Type Field Description protected ResourceFinderAbstractCompiler. classFileFinderImplements the "read side" of the JAVAC-doption.static ResourceFinderICompiler. FIND_NEXT_TO_SOURCE_FILESpecial value forICompiler.setClassFileFinder(ResourceFinder).protected ResourceFinderAbstractCompiler. sourceFinderImplements the JAVAC-sourcepathoption.Methods in org.codehaus.commons.compiler with parameters of type ResourceFinder Modifier and Type Method Description voidAbstractCompiler. setClassFileFinder(ResourceFinder classFileFinder)voidAbstractCompiler. setClassFileFinder(ResourceFinder destination, boolean rebuild)voidICompiler. setClassFileFinder(ResourceFinder classFileFinder)ThisResourceFinderis used to check whether a.classresource already exists and is younger than the.javaresource from which it was generated.voidICompiler. setClassFileFinder(ResourceFinder classFileFinder, boolean rebuild)Equivalent withsetClassFileFinder(rebuild ? ResourceFinder.EMPTY_RESOURCE_FINDER : classFileFinder).voidAbstractCompiler. setSourceFinder(ResourceFinder sourceFinder)abstract voidAbstractJavaSourceClassLoader. setSourceFinder(ResourceFinder sourceFinder)voidICompiler. setSourceFinder(ResourceFinder sourceFinder)Finds more.javaresources that need to be compiled, i.e. -
Uses of ResourceFinder in org.codehaus.commons.compiler.jdk
Fields in org.codehaus.commons.compiler.jdk declared as ResourceFinder Modifier and Type Field Description private ResourceFinderJavaSourceClassLoader. sourceFinderMethods in org.codehaus.commons.compiler.jdk with parameters of type ResourceFinder Modifier and Type Method Description (package private) static voidCompiler. compile(javax.tools.JavaCompiler compiler, java.util.List<java.lang.String> options, ResourceFinder sourceFinder, java.nio.charset.Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator, Resource[] sourceFiles, ErrorHandler compileErrorHandler, WarningHandler warningHandler, java.util.SortedSet<Location> offsets)private static javax.tools.JavaFileManagerCompiler. getJavaFileManager(javax.tools.JavaCompiler compiler, ResourceFinder sourceFileFinder, java.nio.charset.Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator)Creates aJavaFileManagerthat implements the given sourceFileFinder, sourceFileCharset, classFileFinder and classFileCreator.voidJavaSourceClassLoader. setSourceFinder(ResourceFinder sourceFinder) -
Uses of ResourceFinder in org.codehaus.commons.compiler.jdk.util
Methods in org.codehaus.commons.compiler.jdk.util with parameters of type ResourceFinder Modifier and Type Method Description static <M extends javax.tools.JavaFileManager>
javax.tools.ForwardingJavaFileManager<M>JavaFileManagers. fromResourceFinder(M delegate, javax.tools.JavaFileManager.Location location, javax.tools.JavaFileObject.Kind kind, ResourceFinder resourceFinder, java.nio.charset.Charset charset)AForwardingJavaFileManagerthat maps accesses to a particularJavaFileManager.LocationandJavaFileObject.Kindto a search in aResourceFinder. -
Uses of ResourceFinder in org.codehaus.commons.compiler.lang
Methods in org.codehaus.commons.compiler.lang with parameters of type ResourceFinder Modifier and Type Method Description static java.lang.ClassLoaderClassLoaders. getsResourceAsStream(ResourceFinder finder, java.lang.ClassLoader parent)Creates and returns aClassLoaderthat implementsClassLoader.getResourceAsStream(String)via aResourceFinder. -
Uses of ResourceFinder in org.codehaus.commons.compiler.util
Fields in org.codehaus.commons.compiler.util declared as ResourceFinder Modifier and Type Field Description private ResourceFinderResourceFinderClassLoader. resourceFinderMethods in org.codehaus.commons.compiler.util that return ResourceFinder Modifier and Type Method Description ResourceFinderResourceFinderClassLoader. getResourceFinder()Constructors in org.codehaus.commons.compiler.util with parameters of type ResourceFinder Constructor Description ResourceFinderClassLoader(ResourceFinder resourceFinder, java.lang.ClassLoader parent) -
Uses of ResourceFinder in org.codehaus.commons.compiler.util.resource
Subclasses of ResourceFinder in org.codehaus.commons.compiler.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.classListableResourceFinderExtends theResourceFinderclass with aListableResourceFinder.list(String, boolean)method.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.commons.compiler.util.resource with type parameters of type ResourceFinder Modifier and Type Field Description private java.lang.Iterable<? extends ResourceFinder>MultiResourceFinder. resourceFindersMethods in org.codehaus.commons.compiler.util.resource that return ResourceFinder Modifier and Type Method Description private static ResourceFinderPathResourceFinder. createResourceFinder(java.io.File entry)A factory method that creates a Java classpath-style ResourceFinder as follows:entryReturnedResourceFinder"*.jar" fileZipFileResourceFinder"*.zip" fileZipFileResourceFinderdirectoryDirectoryResourceFinderany otherAResourceFinderthat never finds a resourceprivate static ResourceFinderResourceFinders. debugListableResourceFinder(ListableResourceFinder delegate)static ResourceFinderResourceFinders. debugResourceFinder(ResourceFinder delegate)Methods in org.codehaus.commons.compiler.util.resource that return types with arguments of type ResourceFinder Modifier and Type Method Description private static java.util.Iterator<ResourceFinder>PathResourceFinder. createIterator(java.util.Iterator<java.io.File> entries)Methods in org.codehaus.commons.compiler.util.resource with parameters of type ResourceFinder Modifier and Type Method Description static ResourceFinderResourceFinders. debugResourceFinder(ResourceFinder delegate)Constructors in org.codehaus.commons.compiler.util.resource with parameters of type ResourceFinder Constructor Description MultiResourceFinder(ResourceFinder... resourceFinders)Constructor parameters in org.codehaus.commons.compiler.util.resource with type arguments of type ResourceFinder Constructor Description LazyMultiResourceFinder(java.util.Iterator<ResourceFinder> resourceFinders)MultiResourceFinder(java.lang.Iterable<? extends ResourceFinder> resourceFinders)PathResourceFinder(java.util.Iterator<ResourceFinder> entries) -
Uses of ResourceFinder in org.codehaus.janino
Fields in org.codehaus.janino declared as ResourceFinder Modifier and Type Field Description private ResourceFinderCachingJavaSourceClassLoader. classFileCacheResourceFinderprivate ResourceFinderCompiler.CompilerIClassLoader. classFileFinderprivate ResourceFinderResourceFinderIClassLoader. resourceFinderprivate ResourceFinderCachingJavaSourceClassLoader. sourceFinderprivate ResourceFinderCompiler.CompilerIClassLoader. sourceFinderprivate ResourceFinderJavaSourceIClassLoader. sourceFinderMethods in org.codehaus.janino that return ResourceFinder Modifier and Type Method Description ResourceFinderJavaSourceIClassLoader. getSourceFinder()Methods in org.codehaus.janino with parameters of type ResourceFinder Modifier and Type Method Description voidJavaSourceClassLoader. setSourceFinder(ResourceFinder sourceFinder)voidJavaSourceIClassLoader. setSourceFinder(ResourceFinder sourceFinder)Constructors in org.codehaus.janino with parameters of type ResourceFinder Constructor Description CachingJavaSourceClassLoader(java.lang.ClassLoader parentClassLoader, ResourceFinder sourceFinder, java.lang.String characterEncoding, 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 parentIClassLoader)Deprecated.UseCompiler()and the various configuration setters insteadCompilerIClassLoader(ResourceFinder sourceFinder, ResourceFinder classFileFinder, IClassLoader parentIClassLoader)JavaSourceClassLoader(java.lang.ClassLoader parentClassLoader, ResourceFinder sourceFinder, java.lang.String characterEncoding)Constructs aJavaSourceClassLoaderthat finds Java source code through a givenResourceFinder.JavaSourceIClassLoader(ResourceFinder sourceFinder, java.lang.String sourceCharsetName, IClassLoader parentIClassLoader)ResourceFinderIClassLoader(ResourceFinder resourceFinder, IClassLoader parentIClassLoader)
-