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.

  • 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