|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.dataAccess.shape.output.DbfOutputStream
public class DbfOutputStream
Writes date in a DbfTableModel to a file, conforming to the DBF III file format specification
| Constructor Summary | |
|---|---|
DbfOutputStream(java.io.OutputStream os)
Creates a DbfOutputStream |
|
| Method Summary | |
|---|---|
short |
calcHeaderLength(DbfTableModel model)
Calculates the length of the header in terms of bytes |
short |
calcRecordLength(DbfTableModel model)
Calculates the length of the record by aggregating the length of each field |
void |
close()
|
void |
writeModel(DbfTableModel model)
Writes the model out on the stream. |
void |
writeRecords(DbfTableModel model)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbfOutputStream(java.io.OutputStream os)
| Method Detail |
|---|
public void writeModel(DbfTableModel model)
throws java.io.IOException
model - the tablemodel to write
java.io.IOExceptionpublic short calcRecordLength(DbfTableModel model)
model - The DbfTableModel for which to calculate the record length
public short calcHeaderLength(DbfTableModel model)
model - The DbfTableModel for which to calculate header length
public void writeRecords(DbfTableModel model)
throws java.io.IOException
java.io.IOException
public void close()
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||