Package org.codehaus.janino.util.resource
Classes related to loading "resources" (
ResourceFinder) and creating
resources (ResourceCreator).-
Interface Summary Interface Description Resource AResourceis "something" that is typically found by aResourceFinder, can beResource.open()ed for reading, and optionally has aResource.lastModified()property.ResourceCreator Opens a resource, characterized by a name, for writing. -
Class Summary Class Description DirectoryResourceCreator Creates a resource in a given directory:DirectoryResourceFinder AFileResourceFinderthat finds file resources in a directory.FileResource Representation of a resource that is aFile.FileResourceCreator Stores a stream of bytes in a named resource.FileResourceFinder This class specializes theResourceFinderfor finding resources inFiles.JarDirectoriesResourceFinder Finds resources in any of the "*.jar" files that exist in a given set of directories.LazyMultiResourceFinder AResourceFinderthat examines a set ofResourceFinders lazily as it searches for resources.MapResourceCreator Creates resources as byte arrays in a delegateMap.MapResourceFinder AResourceFinderthat provides access to resource stored as byte arrays in aMap.MultiResourceFinder AResourceFinderthat finds its resources through a collection of otherResourceFinders.PathResourceFinder AResourceFinderthat finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.ResourceFinder Finds a resource by name.ZipFileResourceFinder AResourceFinderthat finds resources in a ZIP file.