Top Description Interfaces Classes
[default module]

Package org.codehaus.commons.compiler.util.resource

Annotations
@NotNullByDefault
Imports
org.codehaus.commons.nullanalysis.NotNullByDefault

Classes related to loading "resources" (org.codehaus.commons.compiler.util.resource.ResourceFinder) and creating resources (org.codehaus.commons.compiler.util.resource.ResourceCreator).

Interface Summary

Modifier and TypeInterface and Description
public interface
LocatableResource

A Resource that can be addressed by a URL.

public interface
Resource

A sequence of bytes that is identified by a "name", is typically found by a org.codehaus.commons.compiler.util.resource.ResourceFinder, can be open()ed for reading, and optionally has a lastModified() property.

public interface
ResourceCreator

Opens a resource, characterized by a name, for writing.

Class Summary

Modifier and TypeClass and Description
public class
DirectoryResourceCreator

Creates a resource in a given directory:

    destinationDirectory/resourceName
public class
DirectoryResourceFinder

A FileResourceFinder that finds file resources in a directory.

public class
FileResource

Representation of a resource that is a java.io.File.

public abstract class
FileResourceCreator

Stores a stream of bytes in a named resource.

public abstract class
public class
JarDirectoriesResourceFinder

Finds resources in any of the "*.jar" files that exist in a given set of directories.

public class
public abstract class
public class
MapResourceCreator

Creates resources as byte arrays in a delegate java.util.Map.

public class
MapResourceFinder

A org.codehaus.commons.compiler.util.resource.ResourceFinder that provides access to resource stored as byte arrays in a java.util.Map.

public class
public class
PathResourceFinder

A org.codehaus.commons.compiler.util.resource.ResourceFinder that finds its resources along a "path" consisting of JAR file names, ZIP file names, and directory names.

public abstract class
ResourceFinder

Finds a resource by name.

public class
ResourceFinders

Utility methods around the ResourceFinder.

public class
StringResource

A resource who's content is a String.

public class