Class SimpleDocumentIndexEntry

    • Constructor Detail

      • SimpleDocumentIndexEntry

        public SimpleDocumentIndexEntry()
        Construct an instance of the class.
      • SimpleDocumentIndexEntry

        public SimpleDocumentIndexEntry​(DocumentIndexEntry die)
        Construct an instance of the class with
        Parameters:
        die -
    • Method Detail

      • setNumberOfEntries

        public void setNumberOfEntries​(int n)
        Set the number of "things" that the pointer refers to.
        Parameters:
        n - the number of "things" that the pointer refers to.
      • setOffset

        public void setOffset​(BitFilePosition pos)
        Sets the bit file position within this object to that represented by the specified bit file position. Does nothing in this implementation
        Parameters:
        pos - other bit file position to update the bit file position in this object.
      • setBitIndexPointer

        public void setBitIndexPointer​(BitIndexPointer pointer)
        Update this pointer to reflect the same values as the specified pointer Does nothing in this implementation
        Parameters:
        pointer - the pointer to use to set the byte offset, bit offset and file number parameters.
      • readFields

        public void readFields​(java.io.DataInput in)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • write

        public void write​(java.io.DataOutput out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • pointerToString

        public java.lang.String pointerToString()
        Returns a textual representation of the pointer alone
      • setPointer

        public void setPointer​(Pointer p)
        Sets the pointer within this object to that represented by the specified pointer. Does nothing in this implementation
        Parameters:
        p - other pointer to update the pointer in this object.