Package org.openrewrite.text
Class PlainTextParser.Builder
java.lang.Object
org.openrewrite.Parser.Builder
org.openrewrite.text.PlainTextParser.Builder
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- PlainTextParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()The name of the domain specific language this parser builder produces a parser for.plainTextMasks(Path basePath, Iterable<String> plainTextMaskGlobs) plainTextMasks(Collection<PathMatcher> plainTextMasks) Methods inherited from class org.openrewrite.Parser.Builder
clone
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
plainTextMasks
-
plainTextMasks
-
build
- Specified by:
buildin classParser.Builder
-
getDslName
Description copied from class:Parser.BuilderThe name of the domain specific language this parser builder produces a parser for. Used to disambiguate when multiple different parsers are potentially applicable to a source. For example, determining that MavenParser should be used for a pom.xml instead of XmlParser.- Specified by:
getDslNamein classParser.Builder
-