Uses of Interface
org.codehaus.commons.compiler.util.resource.Resource
Packages that use Resource
Package
Description
This package declares interfaces for the implementation of an
IExpressionEvaluator
, an IScriptEvaluator
, an
IClassBodyEvaluator
and an ISimpleCompiler
.An implementation of the
org.codehaus.commons.compiler
API that uses the "JAVAC" Java compiler that is
part of the "Java Development Kit" (JDK).Classes related to loading "resources" (
ResourceFinder
) and
creating resources (ResourceCreator
).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 ResourceModifier and TypeMethodDescriptionvoid
-
Uses of Resource in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with parameters of type Resource -
Uses of Resource in org.codehaus.commons.compiler.jdk.util
Methods in org.codehaus.commons.compiler.jdk.util with parameters of type ResourceModifier and TypeMethodDescriptionstatic JavaFileObject
JavaFileObjects.fromResource
(Resource resource, String className, JavaFileObject.Kind kind, Charset charset) Wraps aResource
as aJavaFileObject
. -
Uses of Resource in org.codehaus.commons.compiler.util.resource
Subinterfaces of Resource in org.codehaus.commons.compiler.util.resourceClasses in org.codehaus.commons.compiler.util.resource that implement ResourceModifier and TypeClassDescriptionclass
Representation of a resource that is aFile
.class
A resource who's content is aString
.Methods in org.codehaus.commons.compiler.util.resource that return ResourceModifier and TypeMethodDescriptionMapResourceFinder.addResource
(String fileName, byte[] data) Adds anotherResource
, so that it can later be found withMapResourceFinder.findResource(String)
,ResourceFinder.findResourceAsStream(String)
andMapResourceFinder.resources()
.MapResourceFinder.addResource
(String fileName, String data) MapResourceFinder.addResource
(Resource resource) Adds anotherResource
, so that it can later be found withMapResourceFinder.findResource(String)
,ResourceFinder.findResourceAsStream(String)
andMapResourceFinder.resources()
.final Resource
FileResourceFinder.findResource
(String resourceName) final Resource
MapResourceFinder.findResource
(String resourceName) final Resource
MultiResourceFinder.findResource
(String resourceName) abstract Resource
ResourceFinder.findResource
(String resourceName) Finds a resource by name and return it as aResource
object.final Resource
ZipFileResourceFinder.findResource
(String resourceName) Methods in org.codehaus.commons.compiler.util.resource that return types with arguments of type ResourceModifier and TypeMethodDescriptionReturns all resources who's names start with a given string.MapResourceFinder.resources()
Methods in org.codehaus.commons.compiler.util.resource with parameters of type ResourceModifier and TypeMethodDescriptionMapResourceFinder.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