Class HeaderBlockReader

    • Constructor Detail

      • HeaderBlockReader

        public HeaderBlockReader​(InputStream stream,
                                 int blockSize)
                          throws IOException
        create a new HeaderBlockReader from an InputStream
        Parameters:
        stream - the source InputStream
        blockSize - the size of a big block
        Throws:
        IOException - on errors or bad data
    • Method Detail

      • getPropertyStart

        public int getPropertyStart()
        get start of Property Table
        Returns:
        the index of the first block of the Property Table
      • getSBATStart

        public int getSBATStart()
        Returns:
        start of small block allocation table
      • getBATCount

        public int getBATCount()
        Returns:
        number of BAT blocks
      • getBATArray

        public int[] getBATArray()
        Returns:
        BAT array
      • getXBATCount

        public int getXBATCount()
        Returns:
        XBAT count
      • getXBATIndex

        public int getXBATIndex()
        Returns:
        XBAT index