|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--net.sf.imageCave.database.DataTableBuilder
Want a DataTable built?. Just make an instance of this
class and tell it to build one. Well, more specifically use a subclass
of this (since this is an abstract class).
DataTable,
ASTDataTableBuilder| Constructor Summary | |
DataTableBuilder()
|
|
| Method Summary | |
abstract DataRow |
buildRow(java.lang.Object block)
Build a row to put into the table. |
abstract void |
buildTable()
Build a table with this DataTableBuilder. |
abstract DataTable |
getTable()
Get the table that this DataTableBuilder just built. |
abstract void |
setTableSource(CfgFile cf)
Set the CfgFile from which to build the table/rows. |
abstract void |
setTableSource(java.lang.String path,
java.lang.String filename)
Set the CfgFile from which to build the table/rows. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DataTableBuilder()
| Method Detail |
public abstract void buildTable()
DataTableBuilder.
public abstract DataRow buildRow(java.lang.Object block)
this.buildTable() to build the rows in
this table. Making this private wouldn't work because it is abstract.
block - an Object that is used to build a row.
public abstract DataTable getTable()
DataTableBuilder just built.
DataTable built by this DataTableBuilder
public abstract void setTableSource(java.lang.String path,
java.lang.String filename)
CfgFile from which to build the table/rows.
path - the path to the directory in which the file residesfilename - the name of the file (e.g. foo.cfg)public abstract void setTableSource(CfgFile cf)
CfgFile from which to build the table/rows.
cf - the CfgFile to use
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||