Interface XBDocument

    • Method Detail

      • getRootBlock

        @Nonnull
        java.util.Optional<XBBlock> getRootBlock()
        Returns root block of the document.
        Returns:
        root block if exits or null.
      • getDocumentSize

        long getDocumentSize()
        Returns size of the whole document if available.
        Returns:
        length of whole document in bytes or -1 if not available or is infinite
      • getTailData

        @Nonnull
        java.util.Optional<java.io.InputStream> getTailData()
        Returns tail data input stream.
        Returns:
        InputStream of providing read access to data area
      • getTailDataSize

        long getTailDataSize()
        Returns size of the tail data if available.
        Returns:
        length of tail data in bytes or -1 if not available or is infinite