public interface IOService
| Modifier and Type | Method and Description |
|---|---|
Stream<Triple> |
read(InputStream input,
RDFSyntax syntax,
String context)
Read an input stream into a stream of triples.
|
List<RDFSyntax> |
supportedReadSyntaxes()
Retrieve the set of valid syntaxes for read operations.
|
List<RDFSyntax> |
supportedUpdateSyntaxes()
Retrieve the set of valid syntaxes for update operations.
|
List<RDFSyntax> |
supportedWriteSyntaxes()
Retrieve the set of valid syntaxes for write operations.
|
void |
update(Graph graph,
String update,
RDFSyntax syntax,
String context)
Apply a Sparql-Update operation over a Graph.
|
void |
write(Stream<Triple> triples,
OutputStream output,
RDFSyntax syntax,
IRI... profiles)
Serialize the triple stream in a concrete RDF syntax.
|
void write(Stream<Triple> triples, OutputStream output, RDFSyntax syntax, IRI... profiles)
triples - the stream of triplesoutput - the output streamsyntax - the output formatprofiles - additional profile information used for outputStream<Triple> read(InputStream input, RDFSyntax syntax, String context)
input - the input streamsyntax - the RDF syntaxcontext - the RDF contextvoid update(Graph graph, String update, RDFSyntax syntax, String context)
graph - the input graphupdate - the sparql-update requestsyntax - the RDF syntaxcontext - the context to resolve relative IRIsList<RDFSyntax> supportedReadSyntaxes()
List<RDFSyntax> supportedWriteSyntaxes()