com.mwc.sqld.db
Class TextDatabase.CSVCurser
java.lang.Object
|
+--com.mwc.sqld.db.TextDatabase.CSVCurser
- All Implemented Interfaces:
- Curser, ValueLookup
- Enclosing class:
- TextDatabase
- public class TextDatabase.CSVCurser
- extends java.lang.Object
- implements Curser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextDatabase.CSVCurser
public TextDatabase.CSVCurser(java.io.File f,
java.lang.String[][] cols,
int recCount)
throws java.io.IOException
cols
public java.lang.String[][] cols()
- Specified by:
cols
in interface ValueLookup
size
public int size()
- Specified by:
size
in interface ValueLookup
reset
public boolean reset()
- Specified by:
reset
in interface Curser
next
public boolean next()
- Specified by:
next
in interface Curser
getValue
public java.lang.String getValue(java.lang.String colName)
- Specified by:
getValue
in interface ValueLookup
getValue
public java.lang.String getValue(int index)
- Specified by:
getValue
in interface ValueLookup
getType
public java.lang.String getType(java.lang.String colName)
- Specified by:
getType
in interface ValueLookup
close
public boolean close()
- Specified by:
close
in interface Curser
recCount
public int recCount()
- Specified by:
recCount
in interface Curser