Class CVSIgnoreBuilder
java.lang.Object
org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
org.apache.rat.config.exclusion.fileProcessors.CVSIgnoreBuilder
A file processor for the
.csvignore file.- See Also:
- Ignoring files via cvsignore
The patterns found in
.csvignoreare only valid for the directory that contains them, not for any subdirectories.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
AbstractFileProcessorBuilder.LevelBuilder -
Field Summary
Fields inherited from class org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
commentFilter, fileName, REGEX_FMT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MatcherSetprocess(Consumer<MatcherSet> matcherSetConsumer, DocumentName root, DocumentName documentName)Process by reading the file, creating a MatcherSet, and adding it to the matcherSets.Methods inherited from class org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
build, getLevelBuilder, listFiles, modifyEntry
-
Constructor Details
-
CVSIgnoreBuilder
public CVSIgnoreBuilder()The constructor.
-
-
Method Details
-
process
protected MatcherSet process(Consumer<MatcherSet> matcherSetConsumer, DocumentName root, DocumentName documentName)Description copied from class:AbstractFileProcessorBuilderProcess by reading the file, creating a MatcherSet, and adding it to the matcherSets.- Overrides:
processin classAbstractFileProcessorBuilder- Parameters:
matcherSetConsumer- the consumer to add the custom matcher sets to.root- The root against which to resolve names.documentName- the file to read.- Returns:
- A matcher set based on the strings in the file.
-