DbaseFileWriter class

A DbaseFileWriter is used to write a dbase III format file. The general use of this class is:

DbaseFileHeader header = ...
WritableFileChannel out = new FileOutputStream("thefile.dbf").getChannel();
DbaseFileWriter w = new DbaseFileWriter(header,out);
while ( moreRecords ) {
w.write( getMyRecord() );
You must supply the moreRecords and getMyRecord() logic...

@author Ian Schneider


DbaseFileWriter(DbaseFileHeader header, FileWriter channel, [Charset charset, TimeZones timeZone])
Create a DbaseFileWriter using the specified header and writing to the given channel. [...]


channel FileWriter
read / write
charset Charset
read / write
formatter FieldFormatter
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
read / write
nullValues List<List<int>>
The null values to use for each column. This will be accessed only when null values are actually encountered, but it is allocated in the ctor to save time and memory.
read / write
reportFieldSizeErrors bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeZone TimeZones
read / write


close() → void
Release resources associated with this writer. Highly recommended [...]
fieldBytes(Object obj, int col) Future<List<int>>
Called to convert the given object to bytes. [...]
getHeader() DbaseFileHeader
getReportFieldSizeErrors() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
open() Future<void>
setReportFieldSizeErrors(bool reportFieldSizeErrors) → void
toString() String
A string representation of this object. [...]
write(List<int> buffer) Future<void>
writeRecord(List record) Future<void>
Write a single dbase record. [...]


operator ==(Object other) bool
The equality operator. [...]