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
FileResourceFinderthat 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 theResourceFinderfor finding resources inFiles.Finds resources in any of the "*.jar" files that exist in a given set of directories.AResourceFinderthat examines a set ofResourceFinders lazily as it searches for resources.Creates resources as byte arrays in a delegateMap.AResourceFinderthat provides access to resource stored as byte arrays in aMap.AResourceFinderthat finds its resources through a collection of otherResourceFinders.AResourceFinderthat finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.AResourceis "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.AResourceFinderthat finds resources in a ZIP file.