Packages

c

org.w3.banana.io

NTriplesReader

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

An NTriples Reader based on the NTriples parser

Linear Supertypes
RDFReader[Rdf, Try, NTriples], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NTriplesReader
  2. RDFReader
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NTriplesReader()(implicit ops: RDFOps[Rdf])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toany2stringadd[NTriplesReader[Rdf]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (NTriplesReader[Rdf], B)
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toArrowAssoc[NTriplesReader[Rdf]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def ensuring(cond: (NTriplesReader[Rdf]) => Boolean, msg: => Any): NTriplesReader[Rdf]
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toEnsuring[NTriplesReader[Rdf]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  9. def ensuring(cond: (NTriplesReader[Rdf]) => Boolean): NTriplesReader[Rdf]
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toEnsuring[NTriplesReader[Rdf]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: Boolean, msg: => Any): NTriplesReader[Rdf]
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toEnsuring[NTriplesReader[Rdf]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean): NTriplesReader[Rdf]
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toEnsuring[NTriplesReader[Rdf]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toStringFormat[NTriplesReader[Rdf]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. def read(reader: Reader, base: String): Try[Rdf.Graph]

    Parse from the Reader.

    Parse from the Reader. Readers have already made the encoding decision, so there is no decision left here to make

    base

    URI for all relative URIs in reader //todo: should be a URI

    returns

    Success of a Graph or Failure

    Definition Classes
    NTriplesReader → RDFReader
  22. def read(is: InputStream, base: String): Try[Rdf.Graph]

    parse from the Input Stream and have the parser guess the encoding.

    parse from the Input Stream and have the parser guess the encoding. If no encoding guessing is needed use the reader method that takes a Reader. This guessing may be more or less successful.

    Warning: the InputStream will be parsed into a character stream using the Operating System or Java default encoding. For data found on the web, that is published by others, it is unusual that they all would make the same default encoding choice as you.

    base

    Url to use to resolve relative URLs ( as String ) //todo: why not as a RDF#URI ?

    returns

    A Success[Graph] or a Failure //todo: it may be more appropriate to have an encoding guessing function

    Definition Classes
    NTriplesReader → RDFReader
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def [B](y: B): (NTriplesReader[Rdf], B)
    Implicit
    This member is added by an implicit conversion from NTriplesReader[Rdf] toArrowAssoc[NTriplesReader[Rdf]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from RDFReader[Rdf, Try, NTriples]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromNTriplesReader[Rdf] to any2stringadd[NTriplesReader[Rdf]]

Inherited by implicit conversion StringFormat fromNTriplesReader[Rdf] to StringFormat[NTriplesReader[Rdf]]

Inherited by implicit conversion Ensuring fromNTriplesReader[Rdf] to Ensuring[NTriplesReader[Rdf]]

Inherited by implicit conversion ArrowAssoc fromNTriplesReader[Rdf] to ArrowAssoc[NTriplesReader[Rdf]]

Ungrouped