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 TypeMethodDescriptionvoidReportConfiguration.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 DocumentNameMatcherDocument.nameMatcherThe path matcher used by this documentMethods in org.apache.rat.api that return DocumentNameMatcherModifier and TypeMethodDescriptionDocument.getNameMatcher()Gets the file filter this document was created with.Constructors in org.apache.rat.api with parameters of type DocumentNameMatcherModifierConstructorDescriptionprotectedDocument(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 DocumentNameMatcherMatcherSet.Builder.excludedThe DocumentNameMatcher that specifies excluded filesprotected DocumentNameMatcherMatcherSet.Builder.includedThe DocumentNameMatcher that specifies included filesMethods in org.apache.rat.config.exclusion that return DocumentNameMatcherModifier and TypeMethodDescriptiondefault DocumentNameMatcherMatcherSet.createMatcher()Creates a DocumentNameMatcher from an iterable of matcher sets.ExclusionProcessor.getNameMatcher(DocumentName basedir)Creates a Document name matcher that will returnfalseon 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 FileFilterExclusionUtils.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 DocumentNameMatcherDocumentNameMatcher.MATCHES_ALLA matcher that matches all documents.static DocumentNameMatcherDocumentNameMatcher.MATCHES_NONEA matcher that matches no documents.Methods in org.apache.rat.document that return DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcherDocumentNameMatcher.and(Collection<DocumentNameMatcher> matchers)Performs a logicalANDacross the collection of matchers.static DocumentNameMatcherDocumentNameMatcher.and(DocumentNameMatcher... matchers)Performs a logicalANDacross the collection of matchers.static DocumentNameMatcherDocumentNameMatcher.matcherSet(DocumentNameMatcher includes, DocumentNameMatcher excludes)A particular matcher that will not match any excluded unless they are listed in the includes.static DocumentNameMatcherDocumentNameMatcher.not(DocumentNameMatcher nameMatcher)Performs a logicalNOTon a DocumentNameMatcher.static DocumentNameMatcherDocumentNameMatcher.or(Collection<DocumentNameMatcher> matchers)Performs a logicalORacross the collection of matchers.static DocumentNameMatcherDocumentNameMatcher.or(DocumentNameMatcher... matchers)Performs a logicalORacross the collection of matchers.Methods in org.apache.rat.document with parameters of type DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcherDocumentNameMatcher.and(DocumentNameMatcher... matchers)Performs a logicalANDacross the collection of matchers.static DocumentNameMatcherDocumentNameMatcher.matcherSet(DocumentNameMatcher includes, DocumentNameMatcher excludes)A particular matcher that will not match any excluded unless they are listed in the includes.static DocumentNameMatcherDocumentNameMatcher.not(DocumentNameMatcher nameMatcher)Performs a logicalNOTon a DocumentNameMatcher.static DocumentNameMatcherDocumentNameMatcher.or(DocumentNameMatcher... matchers)Performs a logicalORacross the collection of matchers.Method parameters in org.apache.rat.document with type arguments of type DocumentNameMatcherModifier and TypeMethodDescriptionstatic DocumentNameMatcherDocumentNameMatcher.and(Collection<DocumentNameMatcher> matchers)Performs a logicalANDacross the collection of matchers.static DocumentNameMatcherDocumentNameMatcher.or(Collection<DocumentNameMatcher> matchers)Performs a logicalORacross 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.