Uses of Class
net.sourceforge.pmd.lang.document.TextFileContent
-
Packages that use TextFileContent Package Description net.sourceforge.pmd.lang.document Contains types to model text files and handle operations on text. -
-
Uses of TextFileContent in net.sourceforge.pmd.lang.document
Methods in net.sourceforge.pmd.lang.document that return TextFileContent Modifier and Type Method Description static @NonNull TextFileContentTextFileContent. fromCharSeq(CharSequence text)Normalize the line endings of the text to "\n", returns aTextFileContentcontaining the original line ending.static TextFileContentTextFileContent. fromInputStream(InputStream inputStream, Charset sourceEncoding)Reads the contents of the input stream into a TextFileContent.static TextFileContentTextFileContent. fromReader(Reader reader)Read the reader fully and produce aTextFileContent.TextFileContentTextFile. readContents()Reads the contents of the underlying character source.Methods in net.sourceforge.pmd.lang.document with parameters of type TextFileContent Modifier and Type Method Description default voidTextFile. writeContents(TextFileContent content)Writes the given content to the underlying character store.
-