Class VariableIndexHeader

  • All Implemented Interfaces:
    VPFHeader

    public class VariableIndexHeader
    extends Object
    implements VPFHeader
    VariableIndexHeader.java Created: Tue Mar 11 23:41:57 2003
    Author:
    Artur Hefczyc
    • Field Detail

      • VARIABLE_INDEX_HEADER_LENGTH

        public static final int VARIABLE_INDEX_HEADER_LENGTH
        Variable constant VARIABLE_INDEX_HEADER_LENGTH keeps value of
        See Also:
        Constant Field Values
      • VARIABLE_INDEX_ROW_SIZE

        public static final int VARIABLE_INDEX_ROW_SIZE
        Variable constant VARIABLE_INDEX_ROW_SIZE keeps value of
        See Also:
        Constant Field Values
    • Constructor Detail

      • VariableIndexHeader

        public VariableIndexHeader​(int entriesNumber,
                                   int vpfHeaderLen)
        Creates a new VariableIndexHeader object.
        Parameters:
        entriesNumber - DOCUMENT ME!
        vpfHeaderLen - DOCUMENT ME!
    • Method Detail

      • getLength

        public int getLength()
        Returns particular VPFHeader length.
        Specified by:
        getLength in interface VPFHeader
        Returns:
        an int value of header length.
      • getRecordSize

        public int getRecordSize()
        Method getRecordSize is used to return size in bytes of records stored in this table. If table keeps variable length records -1 should be returned.
        Specified by:
        getRecordSize in interface VPFHeader
        Returns:
        an int value
      • getEntriesNumber

        public int getEntriesNumber()
        Gets the value of entriesNumber
        Returns:
        the value of entriesNumber
      • getVpfHeaderLen

        public int getVpfHeaderLen()
        Gets the value of vpfHeaderLen
        Returns:
        the value of vpfHeaderLen