Package com.complexible.common.rdf

# Interface RDFStreamSupplier

All Superinterfaces:
  `AutoCloseable`, `Closeable`, `StatementSource`

All Known Subinterfaces:
  `RDFFileSupplier`

public interface RDFStreamSupplier extends StatementSource

A statement source that produces statements by parsing the contents of an input stream. Implementations of this this interface may *not* be reusable, i.e. iterating over the statements in the source may deplete it.

- ## Field Summary

  ### Fields inherited from interface com.complexible.common.rdf.StatementSource

  `NO_ESTIMATE`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RDFFormat`
  `format()`
  Return the RDF format used by the source
  `Options`
  `getParserConfig()`
  Return the parser options that should be used to parse the contents of the stream
  `InputStream`
  `openStream()`
  Opens the input stream that backs this statement source.

  ### Methods inherited from interface java.io.Closeable

  `close`

  ### Methods inherited from interface com.complexible.common.rdf.StatementSource

  `containsVirtual, estimatedCount, getContext, inMemory, statements, streams`

- ## Method Details

  - ### format

    RDFFormat format()
    Return the RDF format used by the source
    Returns:
      the format

  - ### getParserConfig

    Options getParserConfig()
    Return the parser options that should be used to parse the contents of the stream
    Returns:
      the parser config

  - ### openStream

    InputStream openStream() throws IOException
    Opens the input stream that backs this statement source.
    Returns:
      the input stream
    Throws:
      `IOException`