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
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.Extends theResourceFinderclass with aListableResourceFinder.list(String, boolean)method.AResourcethat can be addressed by a URL.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.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.AResourceFinderthat finds resources in a ZIP file.