Class DBFileHdr


  • public class DBFileHdr
    extends java.lang.Object
    • Constructor Detail

      • DBFileHdr

        public DBFileHdr()
    • Method Detail

      • fromBuffer

        public void fromBuffer​(byte[] buf)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • getVersion

        public byte getVersion()
      • getNumberOfRecords

        public int getNumberOfRecords()
      • getHeaderSize

        public short getHeaderSize()
      • getRecordSize

        public short getRecordSize()
      • getCodePageMark

        public byte getCodePageMark()
        Retrieves the the byte value that represents the code page mark. To get the corresponding mapping value as DBFFileCodePage use getCodePage().
        Returns:
        the byte value that represents the code page mark
      • getCodePage

        public DBFFileCodePage getCodePage()
        Retrieves a DBFFileCodePage corresponding to the getCodePageMark() value. If the code page mark value is invalid it will return null.
        Returns:
        a DBFFileCodePage instance; null if the code page mark is invalid.