public class SQLSplitter extends Object implements Iterable<CharSequence>
Constructor and Description |
---|
SQLSplitter(CharSequence sql) |
Modifier and Type | Method and Description |
---|---|
Iterator<CharSequence> |
iterator() |
static ArrayList<CharSequence> |
splitSQL(CharSequence sql)
Splits the SQL "properly" based on semicolons.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SQLSplitter(CharSequence sql)
public static ArrayList<CharSequence> splitSQL(CharSequence sql)
public Iterator<CharSequence> iterator()
iterator
in interface Iterable<CharSequence>
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly