| Modifier and Type | Class and Description |
|---|---|
static class |
Parser.Builder
Builder for configuring a
Parser. |
static interface |
Parser.ParserExtension
Extension for
Parser. |
| Modifier and Type | Method and Description |
|---|---|
static Parser.Builder |
builder()
Create a new builder for configuring a
Parser. |
Node |
parse(String input)
Parse the specified input text into a tree of nodes.
|
Node |
parseReader(Reader input)
Parse the specified reader into a tree of nodes.
|
public static Parser.Builder builder()
Parser.public Node parse(String input)
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the text to parsepublic Node parseReader(Reader input) throws IOException
Note that this method is thread-safe (a new parser state is used for each invocation).
input - the reader to parseIOException - when reading throws an exceptionCopyright © 2016 Atlassian. All rights reserved.