Package org.codehaus.janino.util.resource
package org.codehaus.janino.util.resource
Classes related to loading "resources" (
ResourceFinder
) and creating
resources (ResourceCreator
).-
ClassDescriptionCreates a resource in a given directory:A
FileResourceFinder
that finds file resources in a directory.Representation of a resource that is aFile
.Stores a stream of bytes in a named resource.This class specializes theResourceFinder
for finding resources inFile
s.Finds resources in any of the "*.jar" files that exist in a given set of directories.AResourceFinder
that examines a set ofResourceFinder
s lazily as it searches for resources.Creates resources as byte arrays in a delegateMap
.AResourceFinder
that provides access to resource stored as byte arrays in aMap
.AResourceFinder
that finds its resources through a collection of otherResourceFinder
s.AResourceFinder
that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.AResource
is "something" that is typically found by aResourceFinder
, can beResource.open()
ed for reading, and optionally has aResource.lastModified()
property.Opens a resource, characterized by a name, for writing.Finds a resource by name.AResourceFinder
that finds resources in a ZIP file.