Class SpatialIndexInputStream

    • Field Detail

      • SPATIAL_INDEX_ROW_SIZE

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

      • SpatialIndexInputStream

        public SpatialIndexInputStream​(String file,
                                       char byteOrder)
                                throws IOException
        Creates a new SpatialIndexInputStream instance.
        Parameters:
        file - a String value
        byteOrder - a char value
        Throws:
        IOException - if an error occurs
    • Method Detail

      • tableSize

        public int tableSize()
        Describe tableSize method here.
        Specified by:
        tableSize in class VPFInputStream
        Returns:
        an int value
      • readHeader

        public VPFHeader readHeader()
                             throws IOException
        Describe readHeader method here.
        Specified by:
        readHeader in class VPFInputStream
        Returns:
        a VPFHeader value
        Throws:
        IOException - if an error occurs
      • readRow

        public VPFRow readRow()
                       throws IOException
        Describe readRow method here.
        Specified by:
        readRow in class VPFInputStream
        Returns:
        a VPFRow value
        Throws:
        IOException - if an error occurs
      • setPosition

        public void setPosition​(long pos)
                         throws IOException
        Describe setPosition method here.
        Overrides:
        setPosition in class VPFInputStream
        Parameters:
        pos - a long value
        Throws:
        IOException - if an error occurs