Class: RDF::NTriples::Format

Inherits:
Format
  • Object
show all
Defined in:
lib/rdf/ntriples/format.rb

Overview

N-Triples format specification.

Examples:

Obtaining an NTriples format class

RDF::Format.for(:ntriples)     #=> RDF::NTriples::Format
RDF::Format.for("etc/doap.nt")
RDF::Format.for(:file_name      => "etc/doap.nt")
RDF::Format.for(:file_extension => "nt")
RDF::Format.for(:content_type   => "text/plain")

See Also:

Direct Known Subclasses

RDF::NQuads::Format

Method Summary

Methods inherited from Format

content_encoding, content_type, content_types, each, file_extensions, for, reader, require, writer