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

    • createIteratorTriples

      public static Iterator<org.apache.jena.graph.Triple> createIteratorTriples(InputStream input, Lang lang, String baseURI)
      Creates an iterator over parsing of quads. This function creates a thread unless the Lang is N-Triples.
    • createIteratorQuads

      public static Iterator<Quad> createIteratorQuads(InputStream input, Lang lang, String baseURI)
      Create an iterator over parsing of triples. This function creates a thread unless the Lang is N-Quads.
    • 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.