Package org.codehaus.commons.compiler.util.resource
Classes related to loading "resources" (
ResourceFinder) and
creating resources (ResourceCreator).-
Interface Summary Interface Description LocatableResource AResourcethat can be addressed by a URL.Resource 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.ResourceCreator Opens a resource, characterized by a name, for writing. -
Class Summary Class Description DirectoryResourceCreator Creates a resource in a given directory:DirectoryResourceFinder AFileResourceFinderthat 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 theResourceFinderfor finding resources inFiles.JarDirectoriesResourceFinder Finds resources in any of the "*.jar" files that exist in a given set of directories.LazyMultiResourceFinder AResourceFinderthat examines a set ofResourceFinders lazily as it searches for resources.ListableResourceFinder Extends theResourceFinderclass with aListableResourceFinder.list(String, boolean)method.MapResourceCreator Creates resources as byte arrays in a delegateMap.MapResourceFinder AResourceFinderthat provides access to resource stored as byte arrays in aMap.MultiResourceFinder AResourceFinderthat finds its resources through a collection of otherResourceFinders.PathResourceFinder AResourceFinderthat finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.ResourceFinder Finds a resource by name.ResourceFinders Utility methods around theResourceFinder.StringResource A resource who's content is aString.ZipFileResourceFinder AResourceFinderthat finds resources in a ZIP file.