org.sourceforge.jxdbcon
Class SimpleEscapeParser
java.lang.Object
|
+--org.sourceforge.jxdbcon.SimpleEscapeParser
- Direct Known Subclasses:
- SQLParser
- public class SimpleEscapeParser
- extends Object
This class attempts to tokenize a statement and break it into
fragments.
- Version:
- $Revision: 1.6 $, $Date: 2002/03/16 01:26:07 $
- Author:
- Keve Müller
ctx
ConversionContext ctx
lst
LinkedList lst
markBrace
static final Object markBrace
markComma
static final Object markComma
markCurly
static final Object markCurly
poslst
LinkedList poslst
sql
String sql
SimpleEscapeParser
public SimpleEscapeParser(String sql)
throws IllegalArgumentException,
SQLException
endChars
void endChars(String s)
throws SQLException
SQLException
getFrags
public EscapeFrags.FragList getFrags()
getPosParams
public EscapeFrags.PosParam[] getPosParams()
main
public static void main(String[] argv)
parse
protected void parse()
throws IllegalArgumentException,
SQLException
IllegalArgumentException
SQLException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001,2002 Keve Müller; see LICENSE file for details.