Uses of Interface
org.codehaus.commons.compiler.util.resource.ResourceCreator
-
Packages that use ResourceCreator 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 ResourceCreator in org.codehaus.commons.compiler
Fields in org.codehaus.commons.compiler declared as ResourceCreator Modifier and Type Field Description protected ResourceCreatorAbstractCompiler. classFileCreatorImplements the "write side" of the JAVAC-doption.static 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 ResourceCreator Modifier and Type Method Description 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 ResourceCreator 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. -
Uses of ResourceCreator in org.codehaus.commons.compiler.jdk.util
Methods in org.codehaus.commons.compiler.jdk.util with parameters of type ResourceCreator Modifier and Type Method Description static <M extends javax.tools.JavaFileManager>
javax.tools.ForwardingJavaFileManager<M>JavaFileManagers. fromResourceCreator(M delegate, javax.tools.JavaFileManager.Location location, javax.tools.JavaFileObject.Kind kind, ResourceCreator resourceCreator, java.nio.charset.Charset charset)static javax.tools.JavaFileObjectJavaFileObjects. fromResourceCreator(ResourceCreator resourceCreator, java.lang.String resourceName, javax.tools.JavaFileObject.Kind kind, java.nio.charset.Charset charset) -
Uses of ResourceCreator in org.codehaus.commons.compiler.util.resource
Classes in org.codehaus.commons.compiler.util.resource that implement ResourceCreator Modifier and Type Class Description classDirectoryResourceCreatorCreates a resource in a given directory:classFileResourceCreatorStores a stream of bytes in a named resource.classMapResourceCreatorCreates resources as byte arrays in a delegateMap. -
Uses of ResourceCreator in org.codehaus.janino
Fields in org.codehaus.janino declared as ResourceCreator Modifier and Type Field Description private ResourceCreatorCachingJavaSourceClassLoader. classFileCacheResourceCreatorMethods in org.codehaus.janino with parameters of type ResourceCreator Modifier and Type Method Description private static voidCachingJavaSourceClassLoader. writeResource(ResourceCreator resourceCreator, java.lang.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 ResourceCreator 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.
-