Browse Source

Clarifying that a FS-only collection might be using any FileProvider, not necessarily FileResource.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1297222 13f79535-47bb-0310-9956-ffa450edef68
master
Jesse N. Glick 13 years ago
parent
commit
7d92ec8184
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/main/org/apache/tools/ant/types/ResourceCollection.java

+ 3
- 2
src/main/org/apache/tools/ant/types/ResourceCollection.java View File

@@ -18,6 +18,7 @@
package org.apache.tools.ant.types;

import java.util.Iterator;
import org.apache.tools.ant.types.resources.FileProvider;

/**
* Interface describing a collection of Resources.
@@ -41,8 +42,8 @@ public interface ResourceCollection {
/**
* Indicate whether this ResourceCollection is composed entirely of
* Resources accessible via local filesystem conventions. If true,
* all Resources returned from this ResourceCollection should be
* instances of FileResource.
* all resources returned from this collection should
* respond with a {@link FileProvider} when asked via {@link Resource#as}.
* @return whether this is a filesystem-only resource collection.
*/
boolean isFilesystemOnly();


Loading…
Cancel
Save