|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--net.sf.imageCave.database.DataTableBuilder
|
+--net.sf.imageCave.database.ASTDataTableBuilder
Want a DataTable built from an instance of a DataAST?. Just make an instance of this
class and tell it to build one.
DataTable,
DataTableBuilder,
DataAST| Constructor Summary | |
ASTDataTableBuilder()
|
|
| Method Summary | |
DataRow |
buildRow(java.lang.Object block)
Build a row to put into the table. |
void |
buildTable()
Build a table from a DataAST. |
DataTable |
getTable()
Get the table that this ASTDataTableBuilder just built |
void |
setTableSource(CfgFile cf)
Set the CfgFile from which to build the table/rows. |
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 ASTDataTableBuilder()
| Method Detail |
public void buildTable()
DataAST.
buildTable in class DataTableBuilderpublic DataRow buildRow(java.lang.Object block)
this.buildTable() to build the rows in
this table. Made public because making it private gave errors
from the abstract nature of its superclass method.
buildRow in class DataTableBuilderblock - an AST that represents a row (whose root's key is block)
public DataTable getTable()
ASTDataTableBuilder just built
getTable in class DataTableBuilderDataTable built by this DataTableBuilder
public void setTableSource(java.lang.String path,
java.lang.String filename)
CfgFile from which to build the table/rows.
setTableSource in class DataTableBuilderpath - the path to the directory in which the file residesfilename - the name of the file (e.g. foo.cfg)public void setTableSource(CfgFile cf)
CfgFile from which to build the table/rows.
setTableSource in class DataTableBuildercf - the CfgFile to use.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||