SemWeb.IO.N3Reader

SemWeb : SemWeb.IO Namespace
N3Reader

Reads RDF statements from a Notation 3 (N3, Turtle, or NTriples) stream

public class N3Reader : SemWeb.RdfReader

Remarks
Most of the N3 specification is supported, including everything in NTriples and Turtle. Statements are streamed as soon as they are read from disk.
Members

See Also: Inherited members from SemWeb.RdfReader.

Constructors

N3Reader (System.IO.TextReader) Creates a new N3 parser for a stream.
N3Reader (string) Creates a new N3 parser for the given file.

Member Details
N3Reader Constructor
public N3Reader (System.IO.TextReader source)

Creates a new N3 parser for a stream.

Parameters

source
  The N3 stream to read.

Remarks
None.

N3Reader Constructor
public N3Reader (string sourcefile)

Creates a new N3 parser for the given file.

Parameters

sourcefile
  The name of a file, or "-" to read from Console.In.

Remarks
None.