com.jmw.tzap.filters
Class FindMergeFilter
java.lang.Object
com.jmw.tzap.AbstractFilter
com.jmw.tzap.IteratingFilter
com.jmw.tzap.filters.FindFilter
com.jmw.tzap.filters.FindMergeFilter
public class FindMergeFilter
- extends FindFilter
Filter that compares the found values with an existing match file.
All original entries are added to the output.
- Author:
- Judah Wischnitzer
Method Summary |
void |
addConfigured(org.apache.tools.ant.types.FileSet fs)
|
protected void |
selectFiles()
|
void |
setMatchFile(java.lang.String s)
sets a the match file to be added. |
void |
setNewOnly(boolean b)
|
void |
setOldOnly(boolean b)
|
void |
unload()
Saves the found regex values into a file if a filename was supplied. |
void |
validateParameters()
Ensure we have a consistent and legal set of attributes, and set
any internal flags necessary based on different combinations
of attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindMergeFilter
public FindMergeFilter()
setMatchFile
public void setMatchFile(java.lang.String s)
- sets a the match file to be added.
- Parameters:
s
- the name of the file
unload
public void unload()
- Description copied from class:
FindFilter
- Saves the found regex values into a file if a filename was supplied.
- Overrides:
unload
in class FindFilter
validateParameters
public void validateParameters()
throws java.lang.Exception
- Ensure we have a consistent and legal set of attributes, and set
any internal flags necessary based on different combinations
of attributes.
- Overrides:
validateParameters
in class FindFilter
- Throws:
java.lang.Exception
- if the processing fails
setNewOnly
public void setNewOnly(boolean b)
setOldOnly
public void setOldOnly(boolean b)
addConfigured
public void addConfigured(org.apache.tools.ant.types.FileSet fs)
selectFiles
protected void selectFiles()