Package org.codehaus.janino.util.resource
Classes related to loading "resources" (
ResourceFinder
) and creating
resources (ResourceCreator
).-
Interface Summary Interface Description Resource AResource
is "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 AFileResourceFinder
that 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 theResourceFinder
for finding resources inFile
s.JarDirectoriesResourceFinder Finds resources in any of the "*.jar" files that exist in a given set of directories.LazyMultiResourceFinder AResourceFinder
that examines a set ofResourceFinder
s lazily as it searches for resources.MapResourceCreator Creates resources as byte arrays in a delegateMap
.MapResourceFinder AResourceFinder
that provides access to resource stored as byte arrays in aMap
.MultiResourceFinder AResourceFinder
that finds its resources through a collection of otherResourceFinder
s.PathResourceFinder AResourceFinder
that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.ResourceFinder Finds a resource by name.ZipFileResourceFinder AResourceFinder
that finds resources in a ZIP file.