public final class TableDescriptions extends Object
Constructor and Description |
---|
TableDescriptions(File database_path)
Constructs this object with the database in the given directory.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Returns true if the table descriptions file exists.
|
DataTableDef |
getDef(String table_name)
Returns the DataTableDef object for the table with the given name.
|
String[] |
getTableList()
Returns a list of table name's sorted in alphebetical order.
|
void |
load()
Load the entire list of table descriptions for this database.
|
void |
save()
Updates the table description file in the database.
|
public TableDescriptions(File database_path)
public boolean exists()
public void load() throws IOException
IOException
public void save() throws IOException
IOException
public String[] getTableList()
public DataTableDef getDef(String table_name)
Copyright © 2015. All rights reserved.