Uses of Interface
org.codehaus.janino.util.resource.ResourceCreator
-
Packages that use ResourceCreator Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler.org.codehaus.janino.util.resource Classes related to loading "resources" (ResourceFinder
) and creating resources (ResourceCreator
). -
-
Uses of ResourceCreator in org.codehaus.janino
Fields in org.codehaus.janino declared as ResourceCreator Modifier and Type Field Description static ResourceCreator
Compiler. CREATE_NEXT_TO_SOURCE_FILE
Special value for "classFileResourceCreator".Constructors in org.codehaus.janino with parameters of type ResourceCreator Constructor Description CachingJavaSourceClassLoader(ClassLoader parentClassLoader, ResourceFinder sourceFinder, String optionalCharacterEncoding, ResourceFinder classFileCacheResourceFinder, ResourceCreator classFileCacheResourceCreator)
Notice that this class is thread-safe if and only if theclassFileCacheResourceCreator
stores its data atomically, i.e.Compiler(ResourceFinder sourceFinder, IClassLoader iClassLoader, ResourceFinder classFileFinder, ResourceCreator classFileCreator, String optionalCharacterEncoding, boolean verbose, boolean debugSource, boolean debugLines, boolean debugVars, WarningHandler optionalWarningHandler)
To mimic the behavior of JAVAC with a missing "-d" command line option, passCompiler.FIND_NEXT_TO_SOURCE_FILE
as theclassFileResourceFinder
andCompiler.CREATE_NEXT_TO_SOURCE_FILE
as theclassFileResourceCreator
. -
Uses of ResourceCreator in org.codehaus.janino.util.resource
Classes in org.codehaus.janino.util.resource that implement ResourceCreator Modifier and Type Class Description class
DirectoryResourceCreator
Creates a resource in a given directory:class
FileResourceCreator
Stores a stream of bytes in a named resource.class
MapResourceCreator
Creates resources as byte arrays in a delegateMap
.
-