Uses of Interface
org.codehaus.commons.compiler.util.resource.ResourceCreator
Packages that use ResourceCreator
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 ResourceCreator in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as ResourceCreatorModifier and TypeFieldDescriptionprotected ResourceCreatorAbstractCompiler.classFileCreatorImplements the "write side" of the JAVAC-doption.static final ResourceCreatorICompiler.CREATE_NEXT_TO_SOURCE_FILESpecial value forICompiler.setClassFileCreator(ResourceCreator): Indicates that .class resources are to be created in the directory of the .java resource from which they are generated.Methods in org.codehaus.commons.compiler with parameters of type ResourceCreatorModifier and TypeMethodDescriptionfinal voidAbstractCompiler.setClassFileCreator(ResourceCreator classFileCreator) voidICompiler.setClassFileCreator(ResourceCreator classFileCreator) ThisResourceCreatoris used to store generated.classfiles. -
Uses of ResourceCreator in org.codehaus.commons.compiler.jdk
Methods in org.codehaus.commons.compiler.jdk with parameters of type ResourceCreatorModifier and TypeMethodDescription(package private) static voidCompiler.compile(JavaCompiler compiler, List<String> options, ResourceFinder sourceFinder, Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator, Resource[] sourceFiles, ErrorHandler compileErrorHandler, WarningHandler warningHandler, SortedSet<Location> offsets) private static JavaFileManagerCompiler.getJavaFileManager(JavaCompiler compiler, ResourceFinder sourceFileFinder, Charset sourceFileCharset, ResourceFinder classFileFinder, ResourceCreator classFileCreator) Creates aJavaFileManagerthat implements the given sourceFileFinder, sourceFileCharset, classFileFinder and classFileCreator. -
Uses of ResourceCreator in org.codehaus.commons.compiler.jdk.util
Methods in org.codehaus.commons.compiler.jdk.util with parameters of type ResourceCreatorModifier and TypeMethodDescriptionstatic <M extends JavaFileManager>
ForwardingJavaFileManager<M> JavaFileManagers.fromResourceCreator(M delegate, JavaFileManager.Location location, JavaFileObject.Kind kind, ResourceCreator resourceCreator, Charset charset) static JavaFileObjectJavaFileObjects.fromResourceCreator(ResourceCreator resourceCreator, String resourceName, JavaFileObject.Kind kind, Charset charset) -
Uses of ResourceCreator in org.codehaus.commons.compiler.util.resource
Classes in org.codehaus.commons.compiler.util.resource that implement ResourceCreatorModifier and TypeClassDescriptionclassCreates a resource in a given directory:classStores a stream of bytes in a named resource.classCreates resources as byte arrays in a delegateMap. -
Uses of ResourceCreator in org.codehaus.janino
Fields in org.codehaus.janino declared as ResourceCreatorModifier and TypeFieldDescriptionprivate final ResourceCreatorCachingJavaSourceClassLoader.classFileCacheResourceCreatorMethods in org.codehaus.janino with parameters of type ResourceCreatorModifier and TypeMethodDescriptionprivate static voidCachingJavaSourceClassLoader.writeResource(ResourceCreator resourceCreator, String resourceName, byte[] data) Creates a resource with the given name and store the data in it.Constructors in org.codehaus.janino with parameters of type ResourceCreatorModifierConstructorDescriptionCachingJavaSourceClassLoader(ClassLoader parentClassLoader, ResourceFinder sourceFinder, 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.