Package org.apache.tools.ant.types
Class FilterSetCollection
java.lang.Object
org.apache.tools.ant.types.FilterSetCollection
A FilterSetCollection is a collection of filtersets each of which may have
a different start/end token settings.
-
Constructor Summary
ConstructorDescriptionConstructor for a FilterSetCollection.FilterSetCollection
(FilterSet filterSet) Constructor for a FilterSetCollection. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addFilterSet
(FilterSet filterSet) Add a filterset to the collection.boolean
Test to see if this filter set it empty.replaceTokens
(String line) Does replacement on the given string with token matching.
-
Constructor Details
-
FilterSetCollection
public FilterSetCollection()Constructor for a FilterSetCollection. -
FilterSetCollection
Constructor for a FilterSetCollection.- Parameters:
filterSet
- a filterset to start the collection with
-
-
Method Details
-
addFilterSet
Add a filterset to the collection.- Parameters:
filterSet
- aFilterSet
value
-
replaceTokens
-
hasFilters
public boolean hasFilters()Test to see if this filter set it empty.- Returns:
- Return true if there are filter in this set otherwise false.
-