| Constructor and Description |
|---|
StreamParser(S initialState,
Lexer<S> lexer) |
| Modifier and Type | Method and Description |
|---|---|
TokenInput<S> |
input(String name,
Reader reader,
Lexer<S> lexer) |
R |
parse(String name,
InputStream stream) |
R |
parse(String name,
Reader reader) |
R |
parse(TokenInput<S> input) |
R |
parseFile(String fileName) |
R |
parseString(String content) |
R |
parseUrl(URL resource) |
public R parse(TokenInput<S> input) throws ParseException, IOException
ParseExceptionIOExceptionpublic R parse(String name, Reader reader) throws IOException, ParseException
IOExceptionParseExceptionpublic R parseFile(String fileName) throws IOException, ParseException
IOExceptionParseExceptionpublic R parseString(String content) throws IOException, ParseException
IOExceptionParseExceptionpublic R parse(String name, InputStream stream) throws IOException, ParseException
IOExceptionParseExceptionpublic R parseUrl(URL resource) throws IOException, ParseException
IOExceptionParseExceptionpublic TokenInput<S> input(String name, Reader reader, Lexer<S> lexer) throws IOException
IOExceptionCopyright © 2020. All rights reserved.