Uses of Interface
net.sourceforge.pmd.lang.document.TextFile
-
Packages that use TextFile Package Description net.sourceforge.pmd.lang net.sourceforge.pmd.lang.document Contains types to model text files and handle operations on text.net.sourceforge.pmd.renderers net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
Uses of TextFile in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang that return types with arguments of type TextFile Modifier and Type Method Description List<TextFile>
LanguageProcessor.AnalysisTask. getFiles()
Method parameters in net.sourceforge.pmd.lang with type arguments of type TextFile Modifier and Type Method Description static LanguageProcessor.AnalysisTask
InternalApiBridge. createAnalysisTask(net.sourceforge.pmd.lang.rule.internal.RuleSets rulesets, List<TextFile> files, GlobalAnalysisListener listener, int threadCount, net.sourceforge.pmd.cache.internal.AnalysisCache analysisCache, PmdReporter messageReporter, LanguageProcessorRegistry lpRegistry)
static LanguageProcessor.AnalysisTask
InternalApiBridge. taskWithFiles(LanguageProcessor.AnalysisTask originalTask, List<TextFile> newFiles)
-
Uses of TextFile in net.sourceforge.pmd.lang.document
Methods in net.sourceforge.pmd.lang.document that return TextFile Modifier and Type Method Description abstract TextFile
TextFileBuilder. build()
Creates and returns the new text file.static TextFile
TextFile. forCharSeq(CharSequence charseq, FileId fileId, LanguageVersion languageVersion)
Returns a read-only TextFile reading from a string.static TextFile
TextFile. forPath(Path path, Charset charset, LanguageVersion languageVersion)
Returns an instance of this interface reading and writing to a file.static TextFile
TextFile. forReader(Reader reader, FileId fileId, LanguageVersion languageVersion)
Returns a read-only instance of this interface reading from a reader.Methods in net.sourceforge.pmd.lang.document that return types with arguments of type TextFile Modifier and Type Method Description List<TextFile>
FileCollector. getCollectedFiles()
Returns an unmodifiable list of all files that have been collected.Methods in net.sourceforge.pmd.lang.document with parameters of type TextFile Modifier and Type Method Description boolean
FileCollector. addFile(TextFile textFile)
Add a pre-configured text file.static TextDocument
TextDocument. create(TextFile textFile)
Create a new text document for the given text file.Constructors in net.sourceforge.pmd.lang.document with parameters of type TextFile Constructor Description ReadOnlyFileException(TextFile textFile)
-
Uses of TextFile in net.sourceforge.pmd.renderers
Methods in net.sourceforge.pmd.renderers with parameters of type TextFile Modifier and Type Method Description void
AbstractAccumulatingRenderer. startFileAnalysis(TextFile dataSource)
void
AbstractIncrementingRenderer. startFileAnalysis(TextFile dataSource)
void
EmptyRenderer. startFileAnalysis(TextFile dataSource)
void
Renderer. startFileAnalysis(TextFile dataSource)
This method is called each time a source file is processed. -
Uses of TextFile in net.sourceforge.pmd.reporting
Methods in net.sourceforge.pmd.reporting with parameters of type TextFile Modifier and Type Method Description default String
FileNameRenderer. getDisplayName(@NonNull TextFile textFile)
FileAnalysisListener
GlobalAnalysisListener. startFileAnalysis(TextFile file)
Returns a file listener that will handle events occurring during the analysis of the given file.FileAnalysisListener
GlobalAnalysisListener.ViolationCounterListener. startFileAnalysis(TextFile file)
FileAnalysisListener
Report.GlobalReportBuilderListener. startFileAnalysis(TextFile file)
FileAnalysisListener
ReportStatsListener. startFileAnalysis(TextFile file)
-