public class DBFHeader extends FormatHeader<DBFField>
| Modifier | Constructor and Description |
|---|---|
protected |
DBFHeader() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getNumberOfRecords()
This method returns the number of records in the file.
|
protected void |
read(java.io.DataInput dataInput) |
protected void |
setFieldList(java.util.List<DBFField> fieldArray)
This method sets the list of fields
|
protected void |
setNumberOfRecords(int numberOfRecords) |
protected void |
write(java.io.DataOutput dataOutput)
This method writes the header in the data file denominated by the DataOutput instance.
|
addField, getField, getFieldList, getIndexOfThisField, getNumberOfFieldsprotected void read(java.io.DataInput dataInput)
throws java.io.IOException
java.io.IOExceptionprotected void write(java.io.DataOutput dataOutput)
throws java.io.IOException
dataOutput - a DataOutput instancejava.io.IOExceptionprotected int getNumberOfRecords()
FormatHeadergetNumberOfRecords in class FormatHeader<DBFField>protected void setFieldList(java.util.List<DBFField> fieldArray)
FormatHeadersetFieldList in class FormatHeader<DBFField>fieldArray - a List of FormatField instancesprotected void setNumberOfRecords(int numberOfRecords)
setNumberOfRecords in class FormatHeader<DBFField>