Uses of Interface
org.codehaus.commons.compiler.util.resource.Resource
-
Packages that use Resource 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.util.resource Classes related to loading "resources" (ResourceFinder) and creating resources (ResourceCreator).org.codehaus.janino The core of the Janino Java compiler. -
-
Uses of Resource in org.codehaus.commons.compiler
Methods in org.codehaus.commons.compiler with parameters of type Resource Modifier and Type Method Description voidICompiler. compile(Resource[] sourceResources) -
Uses of Resource in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with parameters of type Resource 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)voidCompiler. compile(Resource[] sourceResources)voidCompiler. compile(Resource[] sourceResources, java.util.SortedSet<Location> offsets) -
Uses of Resource in org.codehaus.commons.compiler.jdk.util
Fields in org.codehaus.commons.compiler.jdk.util declared as Resource Modifier and Type Field Description private ResourceJavaFileObjects.ResourceJavaFileObject. resourceMethods in org.codehaus.commons.compiler.jdk.util with parameters of type Resource Modifier and Type Method Description static javax.tools.JavaFileObjectJavaFileObjects. fromResource(Resource resource, java.lang.String className, javax.tools.JavaFileObject.Kind kind, java.nio.charset.Charset charset)Wraps aResourceas aJavaFileObject.Constructors in org.codehaus.commons.compiler.jdk.util with parameters of type Resource Constructor Description ResourceJavaFileObject(Resource resource, java.lang.String className, javax.tools.JavaFileObject.Kind kind, java.nio.charset.Charset charset) -
Uses of Resource in org.codehaus.commons.compiler.util.resource
Subinterfaces of Resource in org.codehaus.commons.compiler.util.resource Modifier and Type Interface Description interfaceLocatableResourceAResourcethat can be addressed by a URL.Classes in org.codehaus.commons.compiler.util.resource that implement Resource Modifier and Type Class Description classFileResourceRepresentation of a resource that is aFile.classStringResourceA resource who's content is aString.Fields in org.codehaus.commons.compiler.util.resource with type parameters of type Resource Modifier and Type Field Description private java.util.Map<java.lang.String,Resource>MapResourceFinder. mapMethods in org.codehaus.commons.compiler.util.resource that return Resource Modifier and Type Method Description ResourceMapResourceFinder. addResource(java.lang.String fileName, byte[] data)Adds anotherResource, so that it can later be found withMapResourceFinder.findResource(String),ResourceFinder.findResourceAsStream(String)andMapResourceFinder.resources().ResourceMapResourceFinder. addResource(java.lang.String fileName, java.lang.String data)ResourceMapResourceFinder. addResource(Resource resource)Adds anotherResource, so that it can later be found withMapResourceFinder.findResource(String),ResourceFinder.findResourceAsStream(String)andMapResourceFinder.resources().ResourceFileResourceFinder. findResource(java.lang.String resourceName)ResourceMapResourceFinder. findResource(java.lang.String resourceName)ResourceMultiResourceFinder. findResource(java.lang.String resourceName)abstract ResourceResourceFinder. findResource(java.lang.String resourceName)Finds a resource by name and return it as aResourceobject.ResourceZipFileResourceFinder. findResource(java.lang.String resourceName)Methods in org.codehaus.commons.compiler.util.resource that return types with arguments of type Resource Modifier and Type Method Description java.lang.Iterable<Resource>DirectoryResourceFinder. list(java.lang.String resourceNamePrefix, boolean recurse)abstract java.lang.Iterable<Resource>ListableResourceFinder. list(java.lang.String resourceNamePrefix, boolean recurse)Returns all resources who's names start with a given string.java.lang.Iterable<Resource>MapResourceFinder. list(java.lang.String resourceNamePrefix, boolean recurse)java.lang.Iterable<Resource>MultiResourceFinder. list(java.lang.String resourceNamePrefix, boolean recurse)java.util.Collection<Resource>MapResourceFinder. resources()Methods in org.codehaus.commons.compiler.util.resource with parameters of type Resource Modifier and Type Method Description ResourceMapResourceFinder. addResource(Resource resource)Adds anotherResource, so that it can later be found withMapResourceFinder.findResource(String),ResourceFinder.findResourceAsStream(String)andMapResourceFinder.resources(). -
Uses of Resource in org.codehaus.janino
Methods in org.codehaus.janino with parameters of type Resource Modifier and Type Method Description voidCompiler. compile(Resource[] sourceResources)private voidCompiler. compile2(Resource[] sourceResources)private IClassCompiler.CompilerIClassLoader. defineIClassFromClassFileResource(Resource classFileResource)Opens the given classFileResource, reads its contents, defines it in theIClassLoader, and resolves it (this step may involve loading more classes).private IClassCompiler.CompilerIClassLoader. defineIClassFromSourceResource(Resource sourceResource, java.lang.String className)Parses the compilation unit stored in the given sourceResource, remembers it inCompiler.this.parsedCompilationUnits(it may declare other classes that are needed later), finds the declaration of the type with the given className, and defines it in theIClassLoader.private static byte[]CachingJavaSourceClassLoader. readResource(Resource r)Reads all bytes from the given resource.
-