public class SqlParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SqlParser.StatementCallback
StatementCallback
Interface to call back when a one-line statement has been parsed
|
| Constructor and Description |
|---|
SqlParser() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns number of statements parsed
|
void |
parseStream(InputStream is,
SqlParser.StatementCallback callback)
Public API call
|
public void parseStream(InputStream is, SqlParser.StatementCallback callback) throws IOException, SQLException
is - InputStream objectcallback - StatementCallback objectIOException - for input stream errorSQLException - for StatementCallback errorpublic int getCount()
This documentation is licensed by Andrew Bowley under the GPLv3 License.