ThinkUI SQL Client 1.1.4 API

thinkui.parser.sql
Class DefaultSQLQueryParser

java.lang.Object
  extended bythinkui.parser.sql.DefaultSQLQueryParser
All Implemented Interfaces:
SQLQueryParser

public class DefaultSQLQueryParser
extends java.lang.Object
implements SQLQueryParser

Implements an SQLQueryParser using a regular expressions to parse for SQL queries.


Field Summary
static java.lang.String SQL_CHAR_REGEX
          Defines all the legal characters for an SQL expression.
 
Constructor Summary
DefaultSQLQueryParser()
           
 
Method Summary
 java.util.List parse(java.io.InputStream inputStream)
          Parse the given input stream and return a list of SQLQuery or an empty list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SQL_CHAR_REGEX

public static final java.lang.String SQL_CHAR_REGEX
Defines all the legal characters for an SQL expression.

See Also:
Constant Field Values
Constructor Detail

DefaultSQLQueryParser

public DefaultSQLQueryParser()
Method Detail

parse

public final java.util.List parse(java.io.InputStream inputStream)
                           throws java.lang.Exception
Parse the given input stream and return a list of SQLQuery or an empty list.

Specified by:
parse in interface SQLQueryParser
Throws:
java.lang.Exception

ThinkUI SQL Client 1.1.4 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.