public class ScriptParserImpl extends Object implements ScriptParser, GlobalConstants
A ScriptParser implementation.
UTF_8, UTF_8_CHARSET| Constructor and Description |
|---|
ScriptParserImpl()
Creates a parser.
|
| Modifier and Type | Method and Description |
|---|---|
Script |
parseScript(DataSource source,
Context context)
Parses a script from the specified source.
|
public Script parseScript(DataSource source, Context context) throws IOException, ParseException
ScriptParserParses a script from the specified source.
parseScript in interface ScriptParsersource - The source.context - The context.IOException - If an I/O error occurs.ParseException - If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.