Class IteratorParsers

java.lang.Object
org.apache.jena.riot.lang.IteratorParsers

public class IteratorParsers extends Object
Parsers that support the iterator pattern for receiving the results of parsing.
  • Constructor Details

    • IteratorParsers

      public IteratorParsers()
  • Method Details

    • createIteratorNTriples

      public static Iterator<org.apache.jena.graph.Triple> createIteratorNTriples(InputStream input)
      Create an iterator for parsing N-Triples.
    • createIteratorNTriples

      public static Iterator<org.apache.jena.graph.Triple> createIteratorNTriples(InputStream input, ParserProfile profile)
      Create an iterator for parsing N-Triples.
    • createIteratorNQuads

      public static Iterator<Quad> createIteratorNQuads(InputStream input)
      Create an iterator for parsing N-Quads.
    • createIteratorNQuads

      public static Iterator<Quad> createIteratorNQuads(InputStream input, ParserProfile profile)
      Create an iterator for parsing N-Quads.