org.progeeks.dbf
Class DbfWriter

java.lang.Object
  extended by org.progeeks.dbf.DbfWriter

public class DbfWriter
extends java.lang.Object

A writer for DBF files that appends records until it is closed. Note that the record count in the header is not properly set until this writer is closed.

Version:
$Revision: 1.1 $
Author:
Paul Wisneskey

Constructor Summary
DbfWriter(java.util.List fields, java.io.File file)
           
 
Method Summary
 void close()
           
 DbfHeader getHeader()
           
 void writeRecord(DbfRecord record)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbfWriter

public DbfWriter(java.util.List fields,
                 java.io.File file)
          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

writeRecord

public void writeRecord(DbfRecord record)
                 throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

getHeader

public DbfHeader getHeader()


Copyright © 2002-2003 Paul Speed. All Rights Reserved.