| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.torque.engine.sql.SQLScanner
public class SQLScanner
A simple Scanner implementation that scans an sql file into usable tokens. Used by SQLToAppData.
| Constructor Summary | |
|---|---|
| SQLScanner()Creates a new scanner with no Reader | |
| SQLScanner(Reader input)Creates a new scanner with an Input Reader | |
| Method Summary | |
|---|---|
|  List | scan()Scan the input Reader and returns a list of tokens. | 
|  void | setInput(Reader input)Set the Input | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLScanner()
public SQLScanner(Reader input)
input - the input reader| Method Detail | 
|---|
public void setInput(Reader input)
input - the input reader
public List scan()
          throws IOException
IOException - If an I/O error occurs| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||