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, getNumberOfFields
protected void read(java.io.DataInput dataInput) throws java.io.IOException
java.io.IOException
protected void write(java.io.DataOutput dataOutput) throws java.io.IOException
dataOutput
- a DataOutput instancejava.io.IOException
protected int getNumberOfRecords()
FormatHeader
getNumberOfRecords
in class FormatHeader<DBFField>
protected void setFieldList(java.util.List<DBFField> fieldArray)
FormatHeader
setFieldList
in class FormatHeader<DBFField>
fieldArray
- a List of FormatField instancesprotected void setNumberOfRecords(int numberOfRecords)
setNumberOfRecords
in class FormatHeader<DBFField>