com.healthmarketscience.jackcess
Class TableBuilder

java.lang.Object
  extended by com.healthmarketscience.jackcess.TableBuilder

public class TableBuilder
extends Object

Builder style class for constructing a Column.

Author:
James Ahlborn

Constructor Summary
TableBuilder(String name)
           
 
Method Summary
 TableBuilder addColumn(Column column)
          Adds a Column to the new table.
 Table toTable(Database db)
          Creates a new Table in the given Database with the currently configured attributes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableBuilder

public TableBuilder(String name)
Method Detail

addColumn

public TableBuilder addColumn(Column column)
Adds a Column to the new table.


toTable

public Table toTable(Database db)
              throws IOException
Creates a new Table in the given Database with the currently configured attributes.

Throws:
IOException


Copyright ? 2005-2008 Health Market Science. All Rights Reserved.