public interface ScriptParser
A parser for a script.
| Modifier and Type | Method and Description |
|---|---|
Script |
parseScript(DataSource source,
Context context)
Parses a script from the specified source.
|
Script parseScript(DataSource source, Context context) throws IOException, ParseException
Parses a script from the specified source.
source - The source.context - The context.IllegalArgumentException - If any of the parameters are null.IOException - If an I/O error occurs.ParseException - If an error occurs during the parsing.Copyright © 2015–2019. All rights reserved.