public class NQuadsWriter extends WriterDatasetRIOTBase
| Constructor and Description |
|---|
NQuadsWriter() |
| Modifier and Type | Method and Description |
|---|---|
Lang |
getLang() |
void |
write(OutputStream out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context) |
static void |
write(OutputStream out,
Iterator<Quad> iter) |
void |
write(Writer out,
DatasetGraph dataset,
PrefixMap prefixMap,
String baseURI,
Context context)
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format
|
static void |
write(Writer out,
Iterator<Quad> iter) |
public static void write(OutputStream out, Iterator<Quad> iter)
public Lang getLang()
public void write(Writer out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context)
WriterDatasetRIOTwrite in interface WriterDatasetRIOTwrite in class WriterDatasetRIOTBaseout - Writerdataset - DatasetGraph to be writtenprefixMap - PrefixMap - maybe null (default should be to use the prefixmapping from the Graph)baseURI - base URI - may be null for "none"context - Context (see specific implementation for details)public void write(OutputStream out, DatasetGraph dataset, PrefixMap prefixMap, String baseURI, Context context)
write in interface WriterDatasetRIOTwrite in class WriterDatasetRIOTBaseout - OutputStreamdataset - DatasetGraph to be writtenprefixMap - PrefixMap - maybe null (default should be to use the prefixmapping from the Graph)baseURI - base URI - may be null for "none"context - Context (see specific implementation for details)Licenced under the Apache License, Version 2.0