ru.smartflex.tools.dbf
Class DbfAppender

java.lang.Object
  extended by ru.smartflex.tools.dbf.DbfAppender

public class DbfAppender
extends java.lang.Object

Constructs dbf header from set of columns and gives DbfStatement object for record writing.

Since:
1.00
Author:
galisha

Method Summary
 void defineColumns(DbfColumn... dbfColumns)
          Defines columns for dbf file.
 DbfStatement getStatement()
          Returns DbfStatement object for adding records.
 void writeDbfAndClose()
          Writes records into dbf file and then closes it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

defineColumns

public void defineColumns(DbfColumn... dbfColumns)
Defines columns for dbf file.

Parameters:
dbfColumns - array of dbf columns
Since:
1.00

writeDbfAndClose

public void writeDbfAndClose()
Writes records into dbf file and then closes it.

Since:
1.00

getStatement

public DbfStatement getStatement()
Returns DbfStatement object for adding records.

Returns:
statement object
Since:
1.00