Package org.codehaus.commons.compiler.util.resource
package org.codehaus.commons.compiler.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.Extends theResourceFinder
class with aListableResourceFinder.list(String, boolean)
method.AResource
that can be addressed by a URL.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.A sequence of bytes that is identified by a "name", 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.Utility methods around theResourceFinder
.A resource who's content is aString
.AResourceFinder
that finds resources in a ZIP file.