Class TextFileBuilder
java.lang.Object
net.sourceforge.pmd.lang.document.TextFileBuilder
A builder for a new text file.
See static methods on
TextFile.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionSpecify that the built file is read only.abstract TextFilebuild()Creates and returns the new text file.setParentFsPath(@Nullable FileId fileId)
-
Field Details
-
languageVersion
-
parentFsId
-
-
Method Details
-
asReadOnly
Specify that the built file is read only. Some text files are always read-only.- Returns:
- This builder
-
setParentFsPath
-
build
Creates and returns the new text file.
-