|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.lang.Object
|
+--com.jdc.io.FileReader
|
+--com.jdc.app.rdb.tbl.ref.tco.ReferenceTCO
ReferenceTCO represents a database reference table creation object.
| Field Summary | |
protected static String |
DELIMITER
The default reference data file delimiter. |
| Fields inherited from class com.jdc.lang.Object |
string |
| Constructor Summary | |
ReferenceTCO(String dataFileName)
Constructs a new ReferenceTCO object to read from the data
jdc.java.io.File with the specified file name. |
|
| Method Summary | |
int |
getInt(int dataIndex)
Returns an int value from the data file line data array. |
String |
getString(int dataIndex)
Returns a String value from the data file line data array. |
abstract void |
readData()
Reads the line data from the table data File. |
void |
readLine(String fileLine)
Reads a line from the table data File, parses the line to create
an array of line field values, and invokes the readData method. |
| Methods inherited from class com.jdc.io.FileReader |
close, finalize, getFile, getLineNumber, open, readFile |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final String DELIMITER
| Constructor Detail |
public ReferenceTCO(String dataFileName)
ReferenceTCO object to read from the data
jdc.java.io.File with the specified file name.
| Method Detail |
public int getInt(int dataIndex)
int value from the data file line data array.
int value.public String getString(int dataIndex)
String value from the data file line data array.
String value.public abstract void readData()
File. This method
must be overridden in the subclass to process the file line data.
public void readLine(String fileLine)
File, parses the line to create
an array of line field values, and invokes the readData method.
readLine in class FileReader
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||