@Service(value=ParsingProvider.class) public class RdfJsonParsingProvider extends Object implements ParsingProvider
ParsingProvider
for rdf/jsonConstructor and Description |
---|
RdfJsonParsingProvider() |
Modifier and Type | Method and Description |
---|---|
void |
parse(MGraph target,
InputStream serializedGraph,
String formatIdentifier,
UriRef baseUri)
Parses a stream as the specified RDF-format.
|
public void parse(MGraph target, InputStream serializedGraph, String formatIdentifier, UriRef baseUri)
ParsingProvider
formatIdentifier
matches
a SupportedFormat
annotation of the implementing class.parse
in interface ParsingProvider
target
- the mutable graph to which the read triples shall be addedserializedGraph
- the stream from which the serialized graph is readformatIdentifier
- a String identifying the formatbaseUri
- the baseUri for interpreting relative uris, may be nullCopyright © 2014 The Apache Software Foundation. All Rights Reserved.