Package hec.io.dbf

Class AbstractDBFHeader

java.lang.Object
hec.io.dbf.AbstractDBFHeader
All Implemented Interfaces:
DBFHeader, Serializable
Direct Known Subclasses:
AsciiSerializableDbfHeader, DBaseIIIHeader, DBaseIVHeader, DBaseIVMemoHeader

public abstract class AbstractDBFHeader extends Object implements DBFHeader
This is the base class that represents the header for a DBF file.
See Also:
  • Field Details

    • FIELD_DESCRIPTOR_SIZE

      public static final int FIELD_DESCRIPTOR_SIZE
      See Also:
    • FIELD_DESCRIPTOR_OFFSET

      public static final int FIELD_DESCRIPTOR_OFFSET
      See Also:
    • _header

      protected byte[] _header
      This is the byte array that represents the DBF Header from the file on disk. Once it is read it should never be changed. Use getByteArray() to get the current byte information.
    • _headerSize

      protected int _headerSize
    • _recordSize

      protected int _recordSize
    • _numRecords

      protected int _numRecords
    • _fieldDescriptors

      protected List _fieldDescriptors
  • Constructor Details

    • AbstractDBFHeader

      public AbstractDBFHeader()
  • Method Details