Uses of Class
org.apache.rat.document.DocumentNameMatcher
Packages that use DocumentNameMatcher
Package
Description
The base package for the RAT tool.
Key abstractions.
Classes that manage the inclusion and exclusion of files.
The definitions of Documents and their analysers.
-
Uses of DocumentNameMatcher in org.apache.rat
Methods in org.apache.rat that return DocumentNameMatcherModifier and TypeMethodDescriptionReportConfiguration.getDocumentExcluder
(DocumentName baseDir) Get the DocumentNameMatcher that excludes files found in the directory tree..Methods in org.apache.rat with parameters of type DocumentNameMatcherModifier and TypeMethodDescriptionvoid
ReportConfiguration.addExcludedMatcher
(DocumentNameMatcher matcher) Excludes files that match a DocumentNameMatcher. -
Uses of DocumentNameMatcher in org.apache.rat.api
Fields in org.apache.rat.api declared as DocumentNameMatcherModifier and TypeFieldDescriptionprotected final DocumentNameMatcher
Document.nameMatcher
The path matcher used by this documentMethods in org.apache.rat.api that return DocumentNameMatcherModifier and TypeMethodDescriptionfinal DocumentNameMatcher
Document.getNameMatcher()
Gets the file filter this document was created with.Constructors in org.apache.rat.api with parameters of type DocumentNameMatcherModifierConstructorDescriptionprotected
Document
(DocumentName name, DocumentNameMatcher nameMatcher) Creates an instance. -
Uses of DocumentNameMatcher in org.apache.rat.config.exclusion
Fields in org.apache.rat.config.exclusion declared as DocumentNameMatcherModifier and TypeFieldDescriptionprotected DocumentNameMatcher
MatcherSet.Builder.excluded
The DocumentNameMatcher that specifies excluded filesprotected DocumentNameMatcher
MatcherSet.Builder.included
The DocumentNameMatcher that specifies included filesMethods in org.apache.rat.config.exclusion that return DocumentNameMatcherModifier and TypeMethodDescriptiondefault DocumentNameMatcher
MatcherSet.createMatcher()
Creates a DocumentNameMatcher from an iterable of matcher sets.ExclusionProcessor.getNameMatcher
(DocumentName basedir) Creates a Document name matcher that will returnfalse
on any document that is excluded.StandardCollection.staticDocumentNameMatcher()
Returns the documentNameMatchSupplier if it exists.Methods in org.apache.rat.config.exclusion that return types with arguments of type DocumentNameMatcherMethods in org.apache.rat.config.exclusion with parameters of type DocumentNameMatcherModifier and TypeMethodDescriptionMatcherSet.Builder.addExcluded
(DocumentNameMatcher matcher) Adds specified DocumentNameMatcher to the excluded matchers.ExclusionProcessor.addExcludedMatcher
(DocumentNameMatcher matcher) Add the DocumentNameMatcher as an excluded pattern.MatcherSet.Builder.addIncluded
(DocumentNameMatcher matcher) Adds specified DocumentNameMatcher to the included matchers.ExclusionProcessor.addIncludedMatcher
(DocumentNameMatcher matcher) Add a DocumentNameMatcher to the collection of file/directory patterns to ignore.static FileFilter
ExclusionUtils.asFileFilter
(DocumentName parent, DocumentNameMatcher nameMatcher) Create a FileFilter from a PathMatcher. -
Uses of DocumentNameMatcher in org.apache.rat.document
Fields in org.apache.rat.document declared as DocumentNameMatcherModifier and TypeFieldDescriptionstatic final DocumentNameMatcher
DocumentNameMatcher.MATCHES_ALL
A matcher that matches all documents.static final DocumentNameMatcher
DocumentNameMatcher.MATCHES_NONE
A matcher that matches no documents.Methods in org.apache.rat.document that return DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcher
DocumentNameMatcher.and
(Collection<DocumentNameMatcher> matchers) Performs a logicalAND
across the collection of matchers.static DocumentNameMatcher
DocumentNameMatcher.and
(DocumentNameMatcher... matchers) Performs a logicalAND
across the collection of matchers.static DocumentNameMatcher
DocumentNameMatcher.matcherSet
(DocumentNameMatcher includes, DocumentNameMatcher excludes) A particular matcher that will not match any excluded unless they are listed in the includes.static DocumentNameMatcher
DocumentNameMatcher.not
(DocumentNameMatcher nameMatcher) Performs a logicalNOT
on a DocumentNameMatcher.static DocumentNameMatcher
DocumentNameMatcher.or
(Collection<DocumentNameMatcher> matchers) Performs a logicalOR
across the collection of matchers.static DocumentNameMatcher
DocumentNameMatcher.or
(DocumentNameMatcher... matchers) Performs a logicalOR
across the collection of matchers.Methods in org.apache.rat.document with parameters of type DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcher
DocumentNameMatcher.and
(DocumentNameMatcher... matchers) Performs a logicalAND
across the collection of matchers.static DocumentNameMatcher
DocumentNameMatcher.matcherSet
(DocumentNameMatcher includes, DocumentNameMatcher excludes) A particular matcher that will not match any excluded unless they are listed in the includes.static DocumentNameMatcher
DocumentNameMatcher.not
(DocumentNameMatcher nameMatcher) Performs a logicalNOT
on a DocumentNameMatcher.static DocumentNameMatcher
DocumentNameMatcher.or
(DocumentNameMatcher... matchers) Performs a logicalOR
across the collection of matchers.Method parameters in org.apache.rat.document with type arguments of type DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcher
DocumentNameMatcher.and
(Collection<DocumentNameMatcher> matchers) Performs a logicalAND
across the collection of matchers.static DocumentNameMatcher
DocumentNameMatcher.or
(Collection<DocumentNameMatcher> matchers) Performs a logicalOR
across the collection of matchers.Constructors in org.apache.rat.document with parameters of type DocumentNameMatcherModifierConstructorDescriptionArchiveEntryDocument
(ArchiveEntryName entryName, byte[] contents, DocumentNameMatcher nameMatcher) Creates an Archive entry.DocumentNameMatcher
(String name, DocumentNameMatcher delegate) Constructs a DocumentNameMatcher from a name and a delegate DocumentNameMatcher.FileDocument
(File file, DocumentNameMatcher nameMatcher) Creates a File document where the baseDir is the root directory.FileDocument
(DocumentName basedir, File file, DocumentNameMatcher nameMatcher) Creates a File document.IgnoredDocument
(DocumentName basedir, File file, DocumentNameMatcher nameMatcher) Creates a File document.