Package org.apache.tools.ant.types
Class FilterSetCollection
- java.lang.Object
- 
- org.apache.tools.ant.types.FilterSetCollection
 
- 
 public class FilterSetCollection extends java.lang.ObjectA FilterSetCollection is a collection of filtersets each of which may have a different start/end token settings.
- 
- 
Constructor SummaryConstructors Constructor Description FilterSetCollection()Constructor for a FilterSetCollection.FilterSetCollection(FilterSet filterSet)Constructor for a FilterSetCollection.
 - 
Method SummaryModifier and Type Method Description voidaddFilterSet(FilterSet filterSet)Add a filterset to the collection.booleanhasFilters()Test to see if this filter set it empty.java.lang.StringreplaceTokens(java.lang.String line)Does replacement on the given string with token matching.
 
- 
- 
- 
Constructor Detail- 
FilterSetCollectionpublic FilterSetCollection() Constructor for a FilterSetCollection.
 - 
FilterSetCollectionpublic FilterSetCollection(FilterSet filterSet) Constructor for a FilterSetCollection.- Parameters:
- filterSet- a filterset to start the collection with
 
 
- 
 - 
Method Detail- 
addFilterSetpublic void addFilterSet(FilterSet filterSet) Add a filterset to the collection.- Parameters:
- filterSet- a- FilterSetvalue
 
 - 
replaceTokenspublic java.lang.String replaceTokens(java.lang.String line) Does replacement on the given string with token matching. This uses the defined begintoken and endtoken values which default to @ for both.- Parameters:
- line- The line to process the tokens in.
- Returns:
- The string with the tokens replaced.
 
 - 
hasFilterspublic boolean hasFilters() Test to see if this filter set it empty.- Returns:
- Return true if there are filter in this set otherwise false.
 
 
- 
 
-