class NTriplesReader[Rdf <: RDF] extends RDFReader[Rdf, Try, NTriples]
An NTriples Reader based on the NTriples parser
- Alphabetic
- By Inheritance
- NTriplesReader
- RDFReader
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new NTriplesReader()(implicit ops: RDFOps[Rdf])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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
- 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()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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
- 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
- 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
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- 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.