public final class RDFWriters extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.openrdf.rio.RDFWriter |
createObfuscatedWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theStream,
RDFObfuscator theObf) |
static org.openrdf.rio.RDFWriter |
createWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theOutput) |
static org.openrdf.rio.RDFWriter |
createWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theStream,
Iterable<org.openrdf.model.Namespace> theNamespaces)
Creates a new RDF writer for the given format and initializes with the given namespaces.
|
static org.openrdf.rio.RDFWriter |
createWriter(org.openrdf.rio.RDFFormat theFormat,
Writer theWriter) |
static long |
write(Iterable<org.openrdf.model.Statement> theStmts,
org.openrdf.rio.RDFFormat theFormat,
Iterable<org.openrdf.model.Namespace> theNamespaces,
OutputStream theOutput)
Writes the given statements to the specified output stream with the requested format and namespaces.
|
static long |
write(Iterator<org.openrdf.model.Statement> theStmts,
org.openrdf.rio.RDFFormat theFormat,
Iterable<org.openrdf.model.Namespace> theNamespaces,
OutputStream theOutput)
Writes the given statements to the specified output stream with the requested format and namespaces.
|
static long |
write(Stream<org.openrdf.model.Statement> theStmts,
org.openrdf.rio.RDFFormat theFormat,
Iterable<org.openrdf.model.Namespace> theNamespaces,
OutputStream theOutput) |
static long |
writeGrouped(Iterable<org.openrdf.model.Statement> theStmts,
org.openrdf.rio.RDFFormat theFormat,
Iterable<org.openrdf.model.Namespace> theNamespaces,
OutputStream theOutput)
Writes the statements similar to
write(Iterable, RDFFormat, Iterable, OutputStream) but first groups the statements
by their subjects and predicates so the output will look better (if the writer supports this kind of optimization). |
public static long write(Iterable<org.openrdf.model.Statement> theStmts, org.openrdf.rio.RDFFormat theFormat, Iterable<org.openrdf.model.Namespace> theNamespaces, OutputStream theOutput)
public static long write(Iterator<org.openrdf.model.Statement> theStmts, org.openrdf.rio.RDFFormat theFormat, Iterable<org.openrdf.model.Namespace> theNamespaces, OutputStream theOutput)
public static long write(Stream<org.openrdf.model.Statement> theStmts, org.openrdf.rio.RDFFormat theFormat, Iterable<org.openrdf.model.Namespace> theNamespaces, OutputStream theOutput)
public static long writeGrouped(Iterable<org.openrdf.model.Statement> theStmts, org.openrdf.rio.RDFFormat theFormat, Iterable<org.openrdf.model.Namespace> theNamespaces, OutputStream theOutput)
write(Iterable, RDFFormat, Iterable, OutputStream) but first groups the statements
by their subjects and predicates so the output will look better (if the writer supports this kind of optimization).public static org.openrdf.rio.RDFWriter createWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theStream,
Iterable<org.openrdf.model.Namespace> theNamespaces)
throws org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFHandlerExceptionpublic static org.openrdf.rio.RDFWriter createWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theOutput)
public static org.openrdf.rio.RDFWriter createWriter(org.openrdf.rio.RDFFormat theFormat,
Writer theWriter)
public static org.openrdf.rio.RDFWriter createObfuscatedWriter(org.openrdf.rio.RDFFormat theFormat,
OutputStream theStream,
RDFObfuscator theObf)
Copyright © 2010-2016 Stardog Union. All Rights Reserved.