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.AnalysisTaskInternalApiBridge. 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.AnalysisTaskInternalApiBridge. 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 TextFileTextFileBuilder. build()Creates and returns the new text file.static TextFileTextFile. forCharSeq(CharSequence charseq, FileId fileId, LanguageVersion languageVersion)Returns a read-only TextFile reading from a string.static TextFileTextFile. forPath(Path path, Charset charset, LanguageVersion languageVersion)Returns an instance of this interface reading and writing to a file.static TextFileTextFile. 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 booleanFileCollector. addFile(TextFile textFile)Add a pre-configured text file.static TextDocumentTextDocument. 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 voidAbstractAccumulatingRenderer. startFileAnalysis(TextFile dataSource)voidAbstractIncrementingRenderer. startFileAnalysis(TextFile dataSource)voidEmptyRenderer. startFileAnalysis(TextFile dataSource)voidRenderer. 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 StringFileNameRenderer. getDisplayName(@NonNull TextFile textFile)FileAnalysisListenerDeterministicOutputListenerWrapper. startFileAnalysis(TextFile file)FileAnalysisListenerGlobalAnalysisListener. startFileAnalysis(TextFile file)Returns a file listener that will handle events occurring during the analysis of the given file.FileAnalysisListenerGlobalAnalysisListener.ViolationCounterListener. startFileAnalysis(TextFile file)FileAnalysisListenerReport.GlobalReportBuilderListener. startFileAnalysis(TextFile file)FileAnalysisListenerReportStatsListener. startFileAnalysis(TextFile file)
-