Class AbstractRandomAccess

    • Constructor Detail

      • AbstractRandomAccess

        public AbstractRandomAccess()
    • Method Detail

      • asInputStream

        public java.io.InputStream asInputStream()
        Description copied from interface: IRandomAccess
        A InputStream view on the data structure.
        Specified by:
        asInputStream in interface IRandomAccess
        Returns:
        A InputStream view on the data structure.
      • asOutputStream

        public java.io.OutputStream asOutputStream()
        Description copied from interface: IRandomAccess
        A OutputStream view on the data structure.
        Specified by:
        asOutputStream in interface IRandomAccess
        Returns:
        A OutputStream view on the data structure.
      • mark

        public void mark()
                  throws java.io.IOException
        Description copied from interface: IRandomAccess
        Mark the current offset into the data in a stack like manner.
        Specified by:
        mark in interface IRandomAccess
        Throws:
        java.io.IOException
      • reset

        public void reset()
                   throws java.io.IOException
        Description copied from interface: IRandomAccess
        Reset to the last position on the mark-stack.
        Specified by:
        reset in interface IRandomAccess
        Throws:
        java.io.IOException
      • getPositionStack

        protected java.util.Stack getPositionStack()
        Returns:
        Returns the positionStack.