NTriplesDecoder class final

Decoder for the N-Triples format yielding RdfGraph value objects.

For list-level streaming semantics use NTriplesToTriplesDecoder.

This wrapper intentionally focuses on value-object materialization and does not define additional stream continuity semantics beyond its delegate.

Inheritance

Constructors

NTriplesDecoder({NTriplesDecoderOptions options = const NTriplesDecoderOptions(), IriTermFactory iriTermFactory = IriTerm.validated})
Creates a new N-Triples parser

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<String> stream) Stream<RdfGraph>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(String input, {String? documentUrl}) RdfGraph
Decodes an RDF document and returns an RDF graph
override
fuse<TT>(Converter<RdfGraph, TT> other) Converter<String, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<RdfGraph> sink) Sink<String>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited
withOptions(RdfGraphDecoderOptions options) RdfGraphDecoder
Creates a new decoder with the specified options
override

Operators

operator ==(Object other) bool
The equality operator.
inherited