org.w3.banana

io

package io

Visibility
  1. Public
  2. All

Type Members

  1. class NTriplesParser[Rdf <: RDF] extends Iterator[Try[io.NTriplesParser.Rdf.Triple]]

    Parser for NTriples as specified at http://www.w3.org/TR/n-triples/ A Parser is constructed from a java.io.Reader, and is an Iterator of Try of org.w3.banana.RDF#Triples

    Parser for NTriples as specified at http://www.w3.org/TR/n-triples/ A Parser is constructed from a java.io.Reader, and is an Iterator of Try of org.w3.banana.RDF#Triples

    This parser tries to be fast:

    • it creates a minimum of objects, sticking as far as possible with chars and ints
    • it at most will go back a couple of characters on itself ( this could be narrowed down )
    • it relied on throws to avoid wrapping the overwhelming number of well parsed nodes (or even chars ) in Success objects

    todo

    • broken lines should be returned complete so that the user can edit them and to help debugging
    Rdf

    a subtype of RDF

  2. class NTriplesReader[Rdf <: RDF] extends RDFReader[Rdf, Try, NTriples]

    An NTriples Reader based on the NTriples parser

  3. class NTriplesWriter[Rdf <: RDF] extends RDFWriter[Rdf, Try, NTriples]

    Generic NTriplesWriter

    Generic NTriplesWriter

    Rdf

    class with Rdf types

  4. case class ParseException(line: Int, character: Int, message: String) extends Throwable with NoStackTrace with Product with Serializable

Value Members

  1. object NTriplesParser

Ungrouped