Top Interfaces Classes
[default module]

Package org.apache.tools.ant.types.resources


Interface Summary

Modifier and TypeInterface and Description
public interface
Appendable

Interface to be implemented by "appendable" resources.

public interface
AppendableResourceCollection

Interface describing a collection of Resources, to which elements can be appended.

public interface
FileProvider

This is an interface that resources that can provide a file should implement.

public interface
Touchable

Interface to be implemented by "touchable" resources; that is, those whose modification time can be altered.

public interface
URLProvider

This is an interface that resources that can provide an URL should implement.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractClasspathResource

A Resource representation of anything that is accessed via a Java classloader.

public abstract class
AbstractResourceCollectionWrapper

Base class for a ResourceCollection that wraps a single nested ResourceCollection.

public class
AllButFirst

ResourceCollection that contains all resources of another collection except for the first count elements, a la the UNIX tail command with parameter -n +count.

public class
AllButLast

ResourceCollection that contains all resources of another collection except for the last count elements, a la the UNIX head command with parameter -n -count.

public abstract class
ArchiveResource

A Resource representation of an entry inside an archive.

public class
Archives

A resource collection that treats all nested resources as archives and returns the contents of the archives as its content.

public abstract class
BaseResourceCollectionContainer

Base class for ResourceCollections that nest multiple ResourceCollections.

public abstract class
BaseResourceCollectionWrapper

Base class for a ResourceCollection that wraps a single nested ResourceCollection.

public class
BCFileSet

Utility FileSet that includes directories for backwards-compatibility with certain tasks e.g. Delete.

public class
BZip2Resource

A Bzip2 compressed resource.

public abstract class
CompressedResource

A compressed resource.

public abstract class
ContentTransformingResource

A resource that transforms the content of another resource.

public class
Difference

ResourceCollection representing the difference between two or more nested ResourceCollections.

pack-priv class
FailFast

Helper class for ResourceCollections to return Iterators that fail on changes to the object.

public class
FileResource

A Resource representation of a File.

public class
FileResourceIterator

Iterator of FileResources from filenames.

public class
Files

ResourceCollection implementation; like AbstractFileSet with absolute paths.

public class
First

ResourceCollection that contains the first count elements of another ResourceCollection, a la the UNIX head command.

public class
GZipResource

A GZip compressed resource.

public class
ImmutableResourceException

Exception thrown when an attempt is made to get an OutputStream from an immutable Resource.

public class
Intersect

ResourceCollection representing the intersection of multiple nested ResourceCollections.

public class
JavaConstantResource

A resource that is a java constant.

public class
JavaResource

A Resource representation of something loadable via a Java classloader.

public class
Last

ResourceCollection that contains the last count elements of another ResourceCollection, a la the UNIX tail command.

public class
LazyResourceCollectionWrapper

Resource collection which load underlying resource collection only on demand with support for caching

public class
LogOutputResource

Output-only Resource that always appends to Ant's log.

public class
MappedResource

A decorator around a different resource that uses a mapper to dynamically remap the resource's name.

public class
MappedResourceCollection

Wrapper around a resource collections that maps the names of the other collection using a configured mapper.

public class
MultiRootFileSet

Union of file/dirsets that share the same patterns and selectors but have different roots.

public class
PropertyResource

Exposes an Ant property as a Resource.

public abstract class
ResourceDecorator

Abstract class that delegates all reading methods of Resource to its wrapped resource and deals with reference handling.

public class
ResourceList

Reads a resource as text document and creates a resource for each line.

public class
Resources

Generic ResourceCollection: Either stores nested ResourceCollections, making no attempt to remove duplicates, or references another ResourceCollection.

public class
Restrict

ResourceCollection that allows a number of selectors to be applied to a single ResourceCollection for the purposes of restricting or narrowing results.

public abstract class
SizeLimitCollection

ResourceCollection that imposes a size limit on another ResourceCollection.

public class
Sort

ResourceCollection that sorts another ResourceCollection.

public class
StringResource

Exposes a string as a Resource.

public class
TarResource

A Resource representation of an entry in a tar archive.

public class
Tokens

ResourceCollection consisting of StringResources gathered from tokenizing another ResourceCollection with a Tokenizer implementation.

public class
Union

ResourceCollection representing the union of multiple nested ResourceCollections.

public class
URLResource

Exposes a URL as a Resource.

public class
ZipResource

A Resource representation of an entry in a zipfile.