Class BazaarIgnoreBuilder
java.lang.Object
org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
org.apache.rat.config.exclusion.fileProcessors.BazaarIgnoreBuilder
A processor for
.bzrignore
files.-
Field Summary
Fields inherited from class org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
commentFilter, fileName, REGEX_FMT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyEntry
(Consumer<MatcherSet> matcherSetConsumer, DocumentName baseName, String entry) Allows modification of the file entry to match theMatchPattern
format.Methods inherited from class org.apache.rat.config.exclusion.fileProcessors.AbstractFileProcessorBuilder
build, listFiles, process
-
Constructor Details
-
BazaarIgnoreBuilder
public BazaarIgnoreBuilder()Constructor.
-
-
Method Details
-
modifyEntry
public Optional<String> modifyEntry(Consumer<MatcherSet> matcherSetConsumer, DocumentName baseName, String entry) Description copied from class:AbstractFileProcessorBuilder
Allows modification of the file entry to match theMatchPattern
format. Default implementation returns the @{code entry} argument.- Overrides:
modifyEntry
in classAbstractFileProcessorBuilder
- Parameters:
baseName
- the name of the document that the file was read from.entry
- the entry from that document.- Returns:
- the modified string or an empty Optional to skip the string.
-