Uses of Class
org.apache.rat.document.impl.DocumentName
Packages that use DocumentName
Package
Description
The base package for the RAT tool.
Key abstractions.
Classes that manage the inclusion and exclusion of files.
Custom file processors to handles exclusions defined in various formats.
Implementations of the Document interface.
Classes that walk directory trees and return documents.
-
Uses of DocumentName in org.apache.rat
Methods in org.apache.rat with parameters of type DocumentNameModifier and TypeMethodDescriptionReportConfiguration.getNameMatcher
(DocumentName baseDir) Get the DocumentNameMatcher based on the directory. -
Uses of DocumentName in org.apache.rat.api
Fields in org.apache.rat.api declared as DocumentNameModifier and TypeFieldDescriptionprotected final DocumentName
Document.name
The fully qualified name of this documentMethods in org.apache.rat.api that return DocumentNameModifier and TypeMethodDescriptionfinal DocumentName
Document.getName()
Gets the name of the current document.Constructors in org.apache.rat.api with parameters of type DocumentNameModifierConstructorDescriptionprotected
Document
(DocumentName name, DocumentNameMatcher nameMatcher) Creates an instance. -
Uses of DocumentName in org.apache.rat.config.exclusion
Methods in org.apache.rat.config.exclusion that return DocumentNameModifier and TypeMethodDescriptionstatic DocumentName
FileProcessor.localizePattern
(DocumentName baseName, String pattern) Modifies theMatchPattern
formattedpattern
argument by expanding the pattern and by adjusting the pattern to include the basename from thebasename
argument.Methods in org.apache.rat.config.exclusion with parameters of type DocumentNameModifier and TypeMethodDescriptionstatic FileFilter
ExclusionUtils.asFileFilter
(DocumentName parent, DocumentNameMatcher nameMatcher) Create a FileFilter from a PathMatcher.ExclusionProcessor.getNameMatcher
(DocumentName basedir) Creates a Document name matcher that will returnfalse
on any document that is excluded.static DocumentName
FileProcessor.localizePattern
(DocumentName baseName, String pattern) Modifies theMatchPattern
formattedpattern
argument by expanding the pattern and by adjusting the pattern to include the basename from thebasename
argument.default String
FileProcessor.modifyEntry
(DocumentName documentName, String entry) Allows modification of the file entry to match theMatchPattern
format. -
Uses of DocumentName in org.apache.rat.config.exclusion.fileProcessors
Methods in org.apache.rat.config.exclusion.fileProcessors with parameters of type DocumentNameModifier and TypeMethodDescriptionDescendingFileProcessor.apply
(DocumentName dir) BazaarIgnoreProcessor.modifyEntry
(DocumentName baseName, String entry) GitFileProcessor.modifyEntry
(DocumentName documentName, String entry) HgIgnoreProcessor.modifyEntry
(DocumentName baseName, String entry) CVSFileProcessor.process
(DocumentName documentName) DescendingFileProcessor.process
(DocumentName documentName) Process by reading the file and return a list of properly formatted patterns.HgIgnoreProcessor.process
(DocumentName baseName) -
Uses of DocumentName in org.apache.rat.document.impl
Methods in org.apache.rat.document.impl that return DocumentNameModifier and TypeMethodDescriptionDocumentName.getBaseDocumentName()
Gets the DocumentName for the basename of this document name.Creates a new document name by adding the child to the current name.Methods in org.apache.rat.document.impl with parameters of type DocumentNameModifier and TypeMethodDescriptionint
DocumentName.compareTo
(DocumentName o) DocumentNameMatcherSupplier.get
(DocumentName dir) boolean
DocumentNameMatcher.matches
(DocumentName documentName) boolean
TraceableDocumentNameMatcher.matches
(DocumentName documentName) Constructors in org.apache.rat.document.impl with parameters of type DocumentNameModifierConstructorDescriptionArchiveEntryDocument
(DocumentName outerName, byte[] contents, DocumentNameMatcher nameMatcher) Creates an Archive entry.DocumentName
(File file, DocumentName baseName) Creates a document name with the name of the file and the same basename as the baseName document.FileDocument
(DocumentName basedir, File file, DocumentNameMatcher nameMatcher) Creates a File document. -
Uses of DocumentName in org.apache.rat.report
Methods in org.apache.rat.report that return DocumentNameModifier and TypeMethodDescriptionIReportable.getName()
Returns the DocumentName for the reportable. -
Uses of DocumentName in org.apache.rat.walker
Methods in org.apache.rat.walker that return DocumentName