Interface OneShotContent

All Superinterfaces:
AutoCloseable

public interface OneShotContent extends AutoCloseable
Provider-independent one-shot streaming input.

A one-shot input is not repeatable and therefore must be staged before signing recovery, canonical comparison, postcondition validation or publication that needs another pass. The returned stream is owned by the caller. Implementations must reject a second call to openStream().

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Releases the source.
    Returns the known source length when available.
    Opens the only sequential reader.